mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-09 05:28:09 +08:00
Fix clang-tidy and clazy warnings
This commit is contained in:
@@ -1327,7 +1327,7 @@ namespace BlackCore
|
||||
// If there is no full position available yet, throw this interim position away.
|
||||
CAircraftSituation interimSituation(situation);
|
||||
CAircraftSituationList history = this->remoteAircraftSituations(callsign);
|
||||
if (history.empty()) { return; } // we need one full situation at least
|
||||
if (history.isEmpty()) { return; } // we need one full situation at least
|
||||
const CAircraftSituation lastSituation = history.latestObject();
|
||||
|
||||
// changed position, continue and copy values
|
||||
|
||||
Reference in New Issue
Block a user