summaryrefslogtreecommitdiff
path: root/vehicle.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 /vehicle.c
parent9822b4d755ba1bcc126643cd21a2c4362a4026d9 (diff)
downloadopenttd-a2533d5ee6b637274c18b623d1baf10740bb9f28.tar.xz
(svn r3298) Remove unused and write-only variables
Diffstat (limited to 'vehicle.c')
-rw-r--r--vehicle.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/vehicle.c b/vehicle.c
index 4c1619565..b6935b9a3 100644
--- a/vehicle.c
+++ b/vehicle.c
@@ -37,7 +37,6 @@
#define CMD_BUILD_VEH(x) _veh_build_proc_table[ x - VEH_Train]
#define CMD_SELL_VEH(x) _veh_sell_proc_table[ x - VEH_Train]
-#define CMD_STARTSTOP_VEH(x) _veh_start_stop_proc_table[ x - VEH_Train]
#define CMD_REFIT_VEH(x) _veh_refit_proc_table[ x - VEH_Train]
static const uint32 _veh_build_proc_table[] = {
@@ -52,12 +51,7 @@ static const uint32 _veh_sell_proc_table[] = {
CMD_SELL_SHIP,
CMD_SELL_AIRCRAFT,
};
-static const uint32 _veh_start_stop_proc_table[] = {
- CMD_START_STOP_TRAIN,
- CMD_START_STOP_ROADVEH,
- CMD_START_STOP_SHIP,
- CMD_START_STOP_AIRCRAFT,
-};
+
static const uint32 _veh_refit_proc_table[] = {
CMD_REFIT_RAIL_VEHICLE,
0, // road vehicles can't be refitted