mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 14:46:49 +01:00
Core/GeckoCodeConfig: Use the [[fallthrough]] attribute in LoadCodes()
Makes it explicit that this fallthrough is intentional.
This commit is contained in:
parent
d927cd2b03
commit
632b953ebf
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user