diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -2328,7 +2328,6 @@ static CommandCost RemoveAirport(TileInd /* 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)