From c00258237e0fd63d23fb2015c78c070b72b2e9d9 Mon Sep 17 00:00:00 2001 From: tron Date: Fri, 3 Dec 2004 07:43:00 +0000 Subject: (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 --- order_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'order_gui.c') diff --git a/order_gui.c b/order_gui.c index 956a1cecc..de58f3306 100644 --- a/order_gui.c +++ b/order_gui.c @@ -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); } -- cgit v1.2.3-54-g00ecf