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
commit 79ea55c912
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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);