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

> I'm not sure what the local policy is on those; give in and add
> a default case or initialiser?

When absolutely necessary I go for initializers. Adding default case to enum
switch in which all the values should be covered would mean that compiler will
be happy (=not give necessary warning) if new value to enum is later added
without adding case for it to switch.

    _______________________________________________________

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