Skip to content

Commit 46b272a

Browse files
Fix query metadata
1 parent fd9eb8a commit 46b272a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

c/misra/src/rules/RULE-1-5/UngetcCallOnStreamPositionZero.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* @description Calling the function 'ungetc' on a file stream with a position of zero is an
55
* obsolescent language feature.
66
* @kind path-problem
7-
* @precision medium
7+
* @precision high
88
* @problem.severity error
99
* @tags external/misra/id/rule-1-5
1010
* external/misra/c/2012/amendment3

rule_packages/c/Language4.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@
8888
},
8989
{
9090
"description": "Calling the function 'ungetc' on a file stream with a position of zero is an obsolescent language feature.",
91-
"kind": "problem",
91+
"kind": "path-problem",
9292
"name": "Disallowed obsolescent usage of 'ungetc' on a file stream at position zero",
93-
"precision": "medium",
93+
"precision": "high",
9494
"severity": "error",
9595
"short_name": "UngetcCallOnStreamPositionZero",
9696
"tags": [

0 commit comments

Comments
 (0)