Skip to content

Commit e3113f6

Browse files
committed
Addressing the review comments
1 parent bd08d1b commit e3113f6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

c/misra/src/rules/RULE-15-6/SelectionCompoundCondition.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @id c/misra/selection-compound-condition
3-
* @name RULE-15-6: the statement forming the body of a slection statement shall be a compound statement
3+
* @name RULE-15-6: The statement forming the body of a slection statement shall be a compound statement
44
* @description if the body of a selection statement is not enclosed in braces, then this can lead
55
* to incorrect execution, and is hard for developers to maintain.
66
* @kind problem

rule_packages/c/Statements3.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
{
3333
"description": "if the body of a selection statement is not enclosed in braces, then this can lead to incorrect execution, and is hard for developers to maintain.",
3434
"kind": "problem",
35-
"name": "the statement forming the body of a slection statement shall be a compound statement",
35+
"name": "The statement forming the body of a slection statement shall be a compound statement",
3636
"precision": "very-high",
3737
"severity": "recommendation",
3838
"short_name": "SelectionCompoundCondition",

0 commit comments

Comments
 (0)