Skip to content

Commit 7587456

Browse files
Reduce precision
1 parent c9b5dbe commit 7587456

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cpp/misra/src/rules/RULE-0-1-1/UnnecessaryWriteToLocalObject.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* @description Unused writes to objects may harm performance, complicate code comprehension, or
55
* indicate logical errors in the program.
66
* @kind problem
7-
* @precision very-high
7+
* @precision high
88
* @problem.severity error
99
* @tags external/misra/id/rule-0-1-1
1010
* scope/system

rule_packages/cpp/DeadCode5.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"description": "Unused writes to objects may harm performance, complicate code comprehension, or indicate logical errors in the program.",
1111
"kind": "problem",
1212
"name": "A value should not be unnecessarily written to a local object",
13-
"precision": "very-high",
13+
"precision": "high",
1414
"severity": "error",
1515
"short_name": "UnnecessaryWriteToLocalObject",
1616
"tags": [

0 commit comments

Comments
 (0)