(svn r6179) - Silence the old npf warnings

This commit is contained in:
glx 2006-08-27 22:08:40 +00:00
parent 61659b67d5
commit 89581cb558

2
npf.c
View File

@ -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;