Skip to content

Commit b1074c6

Browse files
authored
Merge pull request #136 from github/mbaluda/ValuesReturnedByLocaleSettingUsedAsPtrToConst
Fix @kind format for RULE-21-19
2 parents 9ce9bf4 + d7697c3 commit b1074c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

c/misra/src/rules/RULE-21-19/ValuesReturnedByLocaleSettingUsedAsPtrToConst.ql

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* @description The pointers returned by the Standard Library functions localeconv, getenv,
55
* setlocale or, strerror shall only be used as if they have pointer to const-qualified
66
* type.
7-
* @kind problem
7+
* @kind path-problem
88
* @precision very-high
99
* @problem.severity error
1010
* @tags external/misra/id/rule-21-19

rule_packages/c/Contracts2.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"queries": [
6161
{
6262
"description": "The pointers returned by the Standard Library functions localeconv, getenv, setlocale or, strerror shall only be used as if they have pointer to const-qualified type.",
63-
"kind": "problem",
63+
"kind": "path-problem",
6464
"name": "The pointers returned by environment functions should be treated as const",
6565
"precision": "very-high",
6666
"severity": "error",

0 commit comments

Comments
 (0)