From 632b953ebf3fae30cde1675619c46e3f77fe5f5c Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 8 Jun 2019 17:48:18 -0400 Subject: [PATCH] Core/GeckoCodeConfig: Use the [[fallthrough]] attribute in LoadCodes() Makes it explicit that this fallthrough is intentional. --- Source/Core/Core/GeckoCodeConfig.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/Core/GeckoCodeConfig.cpp b/Source/Core/Core/GeckoCodeConfig.cpp index d9ab36a48c..937b13a406 100644 --- a/Source/Core/Core/GeckoCodeConfig.cpp +++ b/Source/Core/Core/GeckoCodeConfig.cpp @@ -144,6 +144,7 @@ std::vector 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);