summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2011-12-09 20:27:59 +0000
committeryexo <yexo@openttd.org>2011-12-09 20:27:59 +0000
commit7af041d12da235df6f43c42f647dd4c219624bbe (patch)
tree262761ea37199868a5abaa33540adfefe12576b5
parent16eb11e9887af93ff2fc224e28ba7c089afe0ab2 (diff)
downloadopenttd-7af041d12da235df6f43c42f647dd4c219624bbe.tar.xz
(svn r23463) -Fix (r23461): unused variable
-rw-r--r--src/station_cmd.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp
index 5a1872075..d3b35a996 100644
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -2328,7 +2328,6 @@ static CommandCost RemoveAirport(TileIndex tile, DoCommandFlag flags)
/* Clear the persistent storage. */
delete st->airport.psa;
- const AirportSpec *as = st->airport.GetSpec();
for (uint i = 0; i < st->airport.GetNumHangars(); ++i) {
DeleteWindowById(
WC_VEHICLE_DEPOT, st->airport.GetHangarTile(i)