summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2006-08-27 22:08:40 +0000
committerglx <glx@openttd.org>2006-08-27 22:08:40 +0000
commit89581cb5585d08b0aa0a86dd106adcff491a0710 (patch)
tree271fa444ba8846d3bac9d6b8013316cab1ca80d5
parent61659b67d5344eb9cf315f72774b7cc015602770 (diff)
downloadopenttd-89581cb5585d08b0aa0a86dd106adcff491a0710.tar.xz
(svn r6179) - Silence the old npf warnings
-rw-r--r--npf.c2
1 files changed, 1 insertions, 1 deletions
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;