Misc: Use [[fallthrough]] attribute instead of comment to mark intentional fallthroughs
This commit is contained in:
1 parent
cbb0fe41de
commit
a06e5d7d40
14 files changed
+21
-21
No files matched your search
@@ -185,7 +185,7 @@ void AppenderConsole::_write(LogMessage const* message)
|
||||
index = 0;
|
||||
break;
|
||||
case LOG_LEVEL_ERROR:
|
||||
/* fallthrough */
|
||||
[[fallthrough]];
|
||||
default:
|
||||
index = 1;
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user