Follow-up Comment #16, bug #15559 (project freeciv):
gcc gives the same warning to me. gcc notices that if name_count <= 0, then
we never enter the for loop to initialize 'sock'.
I am attaching a -v4 patch that prevents the warning. The patch is for S2_2.
I have never used trunk. I am now trying to compile trunk so that I can port
the patch.
(file #10046)
_______________________________________________________
Additional Item Attachment:
File name: p22-plural-listen-v4.diff Size:15 KB
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?15559>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev