Follow-up Comment #4, patch #3105 (project freeciv):

Unfortunately this is causing a compilation failure for me in gui-sdl with
--enable-debug (i.e. -Werror):

cc1: warnings being treated as errors
dialogs.c: In function ‘popup_pillage_dialog’:
dialogs.c:2065: error: ‘name’ may be used uninitialized in this function

It's one of those where we know it's not, provided that the switch variable
only takes one of the values in the enum. I'm not sure what the local policy
is on those; give in and add a default case or initialiser?


Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to