1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-30 01:49:10 +00:00

(svn r3598) -Fix: suppress invalid warning by assigning value to variable

This commit is contained in:
truelight
2006-02-13 21:47:02 +00:00
parent ea73b46684
commit 0068f19605

View File

@@ -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;