diff options
author | truelight <truelight@openttd.org> | 2006-02-13 21:47:02 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2006-02-13 21:47:02 +0000 |
commit | 0068f19605f97de862a68da0a2340f724a9bb331 (patch) | |
tree | f836050a2b8e12476f25a785729989dda76f1853 | |
parent | ea73b466844a048f9f55b933f243ec19bdaaa18c (diff) | |
download | openttd-0068f19605f97de862a68da0a2340f724a9bb331.tar.xz |
(svn r3598) -Fix: suppress invalid warning by assigning value to variable
-rw-r--r-- | vehicle.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2004,7 +2004,7 @@ uint32 VehicleEnterTile(Vehicle *v, TileIndex tile, int x, int y) UnitID GetFreeUnitNumber(byte type) { - UnitID unit, max; + UnitID unit, max = 0; const Vehicle *u; static bool *cache = NULL; static UnitID gmax = 0; |