mirror of https://github.com/OpenTTD/OpenTTD
(svn r23463) -Fix (r23461): unused variable
parent
16eb11e988
commit
7af041d12d
|
@ -2328,7 +2328,6 @@ static CommandCost RemoveAirport(TileIndex tile, DoCommandFlag flags)
|
||||||
/* Clear the persistent storage. */
|
/* Clear the persistent storage. */
|
||||||
delete st->airport.psa;
|
delete st->airport.psa;
|
||||||
|
|
||||||
const AirportSpec *as = st->airport.GetSpec();
|
|
||||||
for (uint i = 0; i < st->airport.GetNumHangars(); ++i) {
|
for (uint i = 0; i < st->airport.GetNumHangars(); ++i) {
|
||||||
DeleteWindowById(
|
DeleteWindowById(
|
||||||
WC_VEHICLE_DEPOT, st->airport.GetHangarTile(i)
|
WC_VEHICLE_DEPOT, st->airport.GetHangarTile(i)
|
||||||
|
|
Loading…
Reference in New Issue