Skip to content
Permalink
Browse files

Core/GeckoCodeConfig: Use the [[fallthrough]] attribute in LoadCodes()

Makes it explicit that this fallthrough is intentional.
  • Loading branch information...
lioncash committed Jun 8, 2019
1 parent d927cd2 commit 632b953ebf3fae30cde1675619c46e3f77fe5f5c
Showing with 1 addition and 0 deletions.
  1. +1 −0 Source/Core/Core/GeckoCodeConfig.cpp
@@ -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);

1 comment on commit 632b953

@satastiaa

This comment has been minimized.

Copy link

satastiaa commented on 632b953 Jun 13, 2019

???

Please sign in to comment.
You can’t perform that action at this time.