changeset 4424:28f4f04f2e25 draft

(svn r6179) - Silence the old npf warnings
author glx <glx@openttd.org>
date Sun, 27 Aug 2006 22:08:40 +0000
parents 8d8cfaaf4046
children 689f099b78ea
files npf.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/npf.c
+++ b/npf.c
@@ -780,7 +780,7 @@
 	 */
 	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;