Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfb20065

Browse files
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent3ad5ef2 commitfb20065

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎cpp/misra/src/rules/RULE-9-4-2/AppropriateStructureOfSwitchStatement.ql‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ where
2828
exists(Stmtinitializer|initializer=switch.getInitialization()|
2929
notinitializerinstanceofDeclStmt
3030
)and
31-
message="contains a statement thatthatis not a simple declaration"
31+
message="contains a statement that is not a simple declaration"
3232
or
3333
/* 2. There is a switch case label that does not lead a branch (i.e. a switch case label is nested). */
3434
exists(SwitchCasecase|case=switch.getASwitchCase()|caseinstanceofNestedSwitchCase)and

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp