(svn r6179) - Silence the old npf warnings
authorglx
Sun, 27 Aug 2006 22:08:40 +0000
changeset 4424 5b7aca737cfa
parent 4423 cc00f674d978
child 4425 cff9af513dec
(svn r6179) - Silence the old npf warnings
npf.c
--- a/npf.c	Sun Aug 27 21:20:29 2006 +0000
+++ b/npf.c	Sun Aug 27 22:08:40 2006 +0000
@@ -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;