Merge pull request #8169 from lioncash/fallthrough

Core/GeckoCodeConfig: Use the [[fallthrough]] attribute in LoadCodes()
This commit is contained in:
Léo Lam
2019-06-13 13:36:32 +02:00
committed by GitHub

View File

@ -144,6 +144,7 @@ std::vector<GeckoCode> LoadCodes(const IniFile& globalIni, const IniFile& localI
// enabled or disabled code
case '+':
ss.seekg(1);
[[fallthrough]];
case '$':
if (!gcode.name.empty())
gcodes.push_back(gcode);