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 | d83711fb2eb8b01a661392aa72927a5a48b98191 (patch) | |
tree | f836050a2b8e12476f25a785729989dda76f1853 | |
parent | 5352e9fbcbd3b4dca63746f5cf74b1541b8ebb6c (diff) | |
download | openttd-d83711fb2eb8b01a661392aa72927a5a48b98191.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; |