From 85a71fcea96bc48b59e9784368214c3fd3089706 Mon Sep 17 00:00:00 2001 From: bjarni Date: Tue, 5 Sep 2006 13:39:38 +0000 Subject: (svn r6394) -Fix r6393: removed a warning originally removed in r6376 accidentally readded in r6393 --- vehicle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vehicle.c b/vehicle.c index 76d78168b..26ac7d8a0 100644 --- a/vehicle.c +++ b/vehicle.c @@ -729,7 +729,7 @@ CargoID FindFirstRefittableCargo(EngineID engine_type) */ int32 GetRefitCost(EngineID engine_type) { - int32 base_cost; + int32 base_cost = 0; switch (GetEngine(engine_type)->type) { case VEH_Ship: base_cost = _price.ship_base; break; -- cgit v1.2.3-70-g09d2