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:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to