summaryrefslogtreecommitdiff
path: root/roadveh_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-12-14 06:28:48 +0000
committertron <tron@openttd.org>2005-12-14 06:28:48 +0000
commita2533d5ee6b637274c18b623d1baf10740bb9f28 (patch)
tree7efaf8780f89086574128eced521726184ff5f5b /roadveh_cmd.c
parent9822b4d755ba1bcc126643cd21a2c4362a4026d9 (diff)
downloadopenttd-a2533d5ee6b637274c18b623d1baf10740bb9f28.tar.xz
(svn r3298) Remove unused and write-only variables
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) {