Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2001:
[Freeciv-Dev] common/city.h
Home

[Freeciv-Dev] common/city.h

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv development <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] common/city.h
From: Dirk Stoecker <stoecker@xxxxxxxx>
Date: Mon, 24 Sep 2001 14:46:44 +0200 (MEST)

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!



[Prev in Thread] Current Thread [Next in Thread]