# HG changeset patch # User ludde # Date 1121608002 0 # Node ID 3bec2fbbf613d5c6d0a8c68f506ec55750b778b3 # Parent 357b05db938f9f74a1a58c85f47b5bd58fe7294b (svn r2604) Fix: removed unused variable diff -r 357b05db938f -r 3bec2fbbf613 roadveh_cmd.c --- a/roadveh_cmd.c Sun Jul 17 13:45:43 2005 +0000 +++ b/roadveh_cmd.c Sun Jul 17 13:46:42 2005 +0000 @@ -1634,11 +1634,9 @@ /* update destination */ if (v->current_order.type == OT_GOTO_STATION && !(v->vehstatus & VS_CRASHED)) { - int num; RoadStopType type = (v->cargo_type == CT_PASSENGERS) ? RS_BUS : RS_TRUCK; st = GetStation(v->current_order.station); - num = GetNumRoadStops(st, type); //Current slot has expired if ( (v->u.road.slot_age++ <= 0) && (v->u.road.slot != NULL))