(svn r6179) - Silence the old npf warnings

This commit is contained in:
glx 2006-08-27 22:08:40 +00:00
parent 8056a793c0
commit 1299f0b00d
1 changed files with 1 additions and 1 deletions

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;