We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ad5ef2 commit fb20065Copy full SHA for fb20065
cpp/misra/src/rules/RULE-9-4-2/AppropriateStructureOfSwitchStatement.ql
@@ -28,7 +28,7 @@ where
28
exists(Stmt initializer | initializer = switch.getInitialization() |
29
not initializer instanceof DeclStmt
30
) and
31
- message = "contains a statement that that is not a simple declaration"
+ message = "contains a statement that is not a simple declaration"
32
or
33
/* 2. There is a switch case label that does not lead a branch (i.e. a switch case label is nested). */
34
exists(SwitchCase case | case = switch.getASwitchCase() | case instanceof NestedSwitchCase) and
0 commit comments