Skip to content

Commit

Permalink
Merge pull request #8169 from lioncash/fallthrough
Browse files Browse the repository at this point in the history
Core/GeckoCodeConfig: Use the [[fallthrough]] attribute in LoadCodes()
  • Loading branch information
leoetlino committed Jun 13, 2019
2 parents cea1b58 + 632b953 commit 79ea55c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/Core/Core/GeckoCodeConfig.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 79ea55c

Please sign in to comment.