mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-08-13 04:55:44 +08:00
refactor: Remove dead code
This commit is contained in:
@@ -199,7 +199,6 @@ namespace swift::core::vatsim
|
||||
if (jsonDoc.isEmpty()) { return; }
|
||||
|
||||
// build on local vars for thread safety
|
||||
CServerList fsdServers;
|
||||
CAtcStationList atcStations;
|
||||
CSimulatedAircraftList aircraft;
|
||||
QMap<CCallsign, CFlightPlanRemarks> flightPlanRemarksMap;
|
||||
@@ -242,9 +241,6 @@ namespace swift::core::vatsim
|
||||
atcStations.push_back(parseController(atis.toObject()));
|
||||
}
|
||||
|
||||
// Setup for VATSIM servers and sorting for comparison
|
||||
fsdServers.sortBy(&CServer::getName, &CServer::getDescription);
|
||||
|
||||
// this part needs to be synchronized
|
||||
{
|
||||
QWriteLocker wl(&m_lock);
|
||||
|
||||
@@ -125,15 +125,6 @@ namespace swift::core::vatsim
|
||||
void doWorkImpl() override;
|
||||
|
||||
private:
|
||||
//! Section in file
|
||||
enum Section
|
||||
{
|
||||
SectionNone,
|
||||
SectionFsdServers,
|
||||
SectionVoiceServers,
|
||||
SectionClients,
|
||||
SectionGeneral
|
||||
};
|
||||
|
||||
swift::misc::aviation::CAtcStationList m_atcStations;
|
||||
swift::misc::simulation::CSimulatedAircraftList m_aircraft;
|
||||
|
||||
Reference in New Issue
Block a user