(svn r3298) Remove unused and write-only variables

This commit is contained in:
tron
2005-12-14 06:28:48 +00:00
parent 9822b4d755
commit a2533d5ee6
10 changed files with 3 additions and 54 deletions

View File

@@ -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) {