summaryrefslogtreecommitdiff
path: root/roadveh_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'roadveh_cmd.c')
-rw-r--r--roadveh_cmd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/roadveh_cmd.c b/roadveh_cmd.c
index 0a78127be..b45fb6e93 100644
--- a/roadveh_cmd.c
+++ b/roadveh_cmd.c
@@ -664,12 +664,10 @@ static void ProcessRoadVehOrder(Vehicle *v)
{
uint mindist = 0xFFFFFFFF;
- int num;
RoadStopType type;
RoadStop *rs;
type = (v->cargo_type == CT_PASSENGERS) ? RS_BUS : RS_TRUCK;
- num = GetNumRoadStops(st, type);
rs = GetPrimaryRoadStop(st, type);
if (rs == NULL) {