Description of problem:
I just tried to compile package gtkhtml3-3.5.4-1 from
Redhat Fedora development tree.
The compiler said
htmltextslave.c(184): remark #592: variable "gi" is used before its
value is set
The source code is
HTMLTextSlaveGlyphItem *gi = (HTMLTextSlaveGlyphItem
*) gi;
if (gi->type == HTML_TEXT_SLAVE_GLYPH_ITEM_CREATED) {
Bizzare code. gi gets initialised with it's own (undefined) value,
and then it gets used as a valid pointer in the if statement.
Suggest code re-work. Has this code ever been tested ?
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info: