Follow-up Comment #2, bug #18147 (project freeciv): > an insufficiently clever compiler might think that it's not. (I > think it is, but it requires some inferences a compiler mightn't > make.)
I've seen that with certain gcc versions, but have not reacted to it since 'hp' really is always initialized and newer gcc versions know that. One gets this warning only if gcc is new enough to somehow determine if 'hp' can be uninitialized, but not new enough to have advanced enough heuristics to see that it can not. _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?18147> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev