Skip to content

Commit bd7bc2f

Browse files
Set precision to high
1 parent bc842ad commit bd7bc2f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cpp/misra/src/rules/RULE-0-0-2/InvariantCondition.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* @description Invariant expressions in controlling statements can indicate logic errors or
55
* redundant code.
66
* @kind problem
7-
* @precision very-high
7+
* @precision high
88
* @problem.severity error
99
* @tags external/misra/id/rule-0-0-2
1010
* scope/system

rule_packages/cpp/DeadCode4.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"description": "Invariant expressions in controlling statements can indicate logic errors or redundant code.",
1111
"kind": "problem",
1212
"name": "Controlling expressions should not be invariant",
13-
"precision": "very-high",
13+
"precision": "high",
1414
"severity": "error",
1515
"short_name": "InvariantCondition",
1616
"tags": [

0 commit comments

Comments
 (0)