From 507c5a692b999f4f0fed1d5a64f4c8162f61e08b Mon Sep 17 00:00:00 2001 From: truelight Date: Tue, 21 Dec 2004 19:39:21 +0000 Subject: [PATCH] (svn r1209) -Fix: fix compiler warning (sorry) --- pathfind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pathfind.c b/pathfind.c index c3a300cbc0..fc71369e0d 100644 --- a/pathfind.c +++ b/pathfind.c @@ -128,7 +128,7 @@ static void TPFMode2(TrackPathFinder *tpf, uint tile, int direction) uint bits; int i; RememberData rd; - int owner; + int owner = -1; if (tpf->tracktype == TRANSPORT_RAIL) { owner = _map_owner[tile];