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:

  <http://gna.org/patch/?3105>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to