diff options
author | tron <tron@openttd.org> | 2005-12-14 06:28:48 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-12-14 06:28:48 +0000 |
commit | bf98086de80da38fb0256f3f076d5069f6b4e997 (patch) | |
tree | 7efaf8780f89086574128eced521726184ff5f5b /roadveh_cmd.c | |
parent | 23bfc03054c52065006a73d8cebdeee068784892 (diff) | |
download | openttd-bf98086de80da38fb0256f3f076d5069f6b4e997.tar.xz |
(svn r3298) Remove unused and write-only variables
Diffstat (limited to 'roadveh_cmd.c')
-rw-r--r-- | roadveh_cmd.c | 2 |
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) { |