mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
Cppcheck and unit test fixes
This commit is contained in:
@@ -658,9 +658,10 @@ namespace BlackCore
|
||||
{
|
||||
Q_UNUSED(mode);
|
||||
CAircraftModelList usedModelSet;
|
||||
static const bool NoZeroScores = true;
|
||||
static const bool PreferColorLiveries = true;
|
||||
static const bool DoNotMindAboutColorLiveries = false;
|
||||
// cppcheck-suppress variableScope
|
||||
static constexpr bool DoNotMindAboutColorLiveries = false;
|
||||
static constexpr bool NoZeroScores = true;
|
||||
static constexpr bool PreferColorLiveries = true;
|
||||
|
||||
// VTOL
|
||||
ScoredModels map;
|
||||
|
||||
@@ -1051,6 +1051,7 @@ namespace BlackCore
|
||||
}
|
||||
}
|
||||
|
||||
Q_UNUSED(haveRequestedElevation);
|
||||
return correctedSituation;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user