From 89581cb5585d08b0aa0a86dd106adcff491a0710 Mon Sep 17 00:00:00 2001 From: glx Date: Sun, 27 Aug 2006 22:08:40 +0000 Subject: (svn r6179) - Silence the old npf warnings --- npf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npf.c b/npf.c index e865b6da0..7cce29c7e 100644 --- a/npf.c +++ b/npf.c @@ -780,7 +780,7 @@ NPFFoundTargetData NPFRouteToDepotTrialError(TileIndex tile, Trackdir trackdir, */ Queue depots; int r; - NPFFoundTargetData best_result; + NPFFoundTargetData best_result = {(uint)-1, (uint)-1, INVALID_TRACKDIR, {INVALID_TILE, 0, {0, 0}}}; NPFFoundTargetData result; NPFFindStationOrTileData target; AyStarNode start; -- cgit v1.2.3-70-g09d2