summaryrefslogtreecommitdiff
path: root/npf.c
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
commit1299f0b00de584890236ccfd3f90e7c7146fc35d (patch)
tree271fa444ba8846d3bac9d6b8013316cab1ca80d5 /npf.c
parent8056a793c0a42ff9aa2f7dba9fa7ee8c22b3671f (diff)
downloadopenttd-1299f0b00de584890236ccfd3f90e7c7146fc35d.tar.xz
(svn r6179) - Silence the old npf warnings
Diffstat (limited to 'npf.c')
-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;