(svn r907) Sprinkle holy ANSI water:

- "inline" must before the return type (and after "static")
- Initialise all struct members, not just some of them
- Remove (one) spurious semicolon
This commit is contained in:
tron
2004-12-03 07:43:00 +00:00
parent b7f0b278fb
commit c00258237e
12 changed files with 38 additions and 31 deletions

View File

@@ -154,7 +154,7 @@ static void *FindVehicleCallb(Vehicle *v, FindVehS *f)
Vehicle *GetVehicleOnTile(TileIndex tile, byte owner)
{
FindVehS fs = {tile, owner};
FindVehS fs = {tile, owner, 0};
return VehicleFromPos(tile, &fs, (VehicleFromPosProc*)FindVehicleCallb);
}