Skip to content

Commit bb72ffb

Browse files
committed
Fix integration
1 parent b1fd418 commit bb72ffb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cpp/misra/src/rules/RULE-9-4-1/IfElseIfEndCondition.ql

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @id cpp/misra/if-else-if-end-condition
3-
* @name RULE-9-4-1: All if
3+
* @name RULE-9-4-1: All if ... else if constructs shall be terminated with an else statement.
44
* @description All if ... else if constructs shall be terminated with an else statement.
55
* @kind problem
66
* @precision very-high

rule_packages/cpp/ImportMisra23.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
{
134134
"description": "All if ... else if constructs shall be terminated with an else statement.",
135135
"kind": "problem",
136-
"name": "All if ",
136+
"name": "All if ... else if constructs shall be terminated with an else statement.",
137137
"precision": "very-high",
138138
"severity": "error",
139139
"short_name": "IfElseIfEndCondition",
@@ -405,7 +405,7 @@
405405
"queries": [
406406
{
407407
"description": "The pointers returned by the C++ Standard Library functions localeconv, getenv, setlocale or strerror must only be used as if they have pointer to const-qualified type.",
408-
"kind": "problem",
408+
"kind": "path-problem",
409409
"name": "The pointers returned by environment functions should be treated as const",
410410
"precision": "very-high",
411411
"severity": "error",

0 commit comments

Comments
 (0)