Follow-up Comment #4, patch #3715 (project freeciv):
Unfortunately this is giving warnings for me (GCC 4.4.3-4ubuntu5.1 on Ubuntu
taicity.c: In function ‘tai_city_worker_requests_create’:
taicity.c:56: error: ‘task.tgt.type’ may be used uninitialized in this
taicity.c:56: error: ‘task.act’ may be used uninitialized in this
It seems clear that these are to me untrue, but I'm not sure how to persuade
the compiler of that. Attached patch has the obvious workaround.
Additional Item Attachment:
File name: trunk-taicity-worker-task-init.patch Size:0 KB
Reply to this item at:
Message sent via/by Gna!
Freeciv-dev mailing list