From 1299f0b00de584890236ccfd3f90e7c7146fc35d Mon Sep 17 00:00:00 2001 From: glx Date: Sun, 27 Aug 2006 22:08:40 +0000 Subject: [PATCH] (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 e865b6da0c..7cce29c7ed 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;