Skip to content

Commit 0e68e41

Browse files
committed
updated metadata for 16-3 based on PR feedback
1 parent 48175e7 commit 0e68e41

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

c/misra/src/rules/RULE-16-3/BreakShallTerminateSwitchClause.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
* @description An unterminated switch-clause occurring at the end of a switch statement may fall
55
* into switch clauses which are added later.
66
* @kind problem
7-
* @precision very-high
8-
* @problem.severity error
7+
* @precision high
8+
* @problem.severity warning
99
* @tags external/misra/id/rule-16-3
1010
* maintainability
1111
* readability

rule_packages/c/Statements1.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
"description": "An unterminated switch-clause occurring at the end of a switch statement may fall into switch clauses which are added later.",
3131
"kind": "problem",
3232
"name": "An unconditional break statement shall terminate every switch-clause",
33-
"precision": "very-high",
34-
"severity": "error",
33+
"precision": "high",
34+
"severity": "warning",
3535
"short_name": "BreakShallTerminateSwitchClause",
3636
"tags": [
3737
"maintainability",

0 commit comments

Comments
 (0)