[Freeciv-Dev] common/city.h
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Hi,
wouldn't it be time to change line 129/130 of common/city.h from
enum choice_type { CT_NONE = 0, CT_BUILDING = 0, CT_NONMIL, CT_ATTACKER,
CT_DEFENDER, CT_LAST };
to
enum choice_type { CT_NONE = 0, CT_BUILDING, CT_NONMIL, CT_ATTACKER,
CT_DEFENDER, CT_LAST };
and thus remove the annoying warning of duplicate enums in nearly every
source (SAS-C compiler) and increase code quality?
I think this should be done now to fix possibly existing wrong tests long
time before next release.
Ciao
__
____ _ _ ____ _ _ _ _ ____
| | | | | | \ / | | | the cool Gremlin from Bischofswerda
| __ | ____| | \/ | | | WWW: http://www.dstoecker.de/
| | | | | | | | PGP key available on www page.
|____| _|_ |____| _|_ _|_ |____| I hope AMIGA never stops making fun!
- [Freeciv-Dev] common/city.h,
Dirk Stoecker <=
|
|