From 996595798616757319c9a6058aa67a154847441f Mon Sep 17 00:00:00 2001 From: glx Date: Mon, 4 Sep 2006 22:22:38 +0000 Subject: [PATCH] (svn r6386) -Fix(r6376): removed a warning --- vehicle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vehicle.c b/vehicle.c index 2bd474fd9d..1753181cdd 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;