mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
Fix GCC7 fallthrough warnings
This commit is contained in:
committed by
Klaus Basan
parent
c0d9aacbb1
commit
ebe23a694b
@@ -10,6 +10,7 @@
|
||||
#include "blackcore/aircraftmatcher.h"
|
||||
#include "blackcore/application.h"
|
||||
#include "blackcore/webdataservices.h"
|
||||
#include "blackmisc/fallthrough.h"
|
||||
#include "blackmisc/simulation/simulatedaircraft.h"
|
||||
#include "blackmisc/simulation/matchingutils.h"
|
||||
#include "blackmisc/aviation/aircrafticaocode.h"
|
||||
@@ -226,7 +227,7 @@ namespace BlackCore
|
||||
matchedModel = candidates.minOrderOrDefault();
|
||||
break;
|
||||
}
|
||||
// [[clang::fallthrough]];
|
||||
BLACK_FALLTHROUGH;
|
||||
case CAircraftMatcherSetup::PickFirst:
|
||||
default:
|
||||
usedStrategy = CAircraftMatcherSetup::PickFirst; // re-assigned if fall-through
|
||||
|
||||
Reference in New Issue
Block a user