Skip to content

Commit 067e172

Browse files
Change obligation
1 parent f6d62ec commit 067e172

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: c/cert/src/rules/EXP16-C/DoNotCompareFunctionPointersToConstantValues.ql

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @problem.severity error
99
* @tags external/cert/id/exp16-c
1010
* correctness
11-
* external/cert/obligation/rule
11+
* external/cert/obligation/recommendation
1212
*/
1313

1414
import cpp

Diff for: cpp/common/src/codingstandards/cpp/exclusions/c/Expressions2.qll

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ predicate isExpressions2QueryMetadata(Query query, string queryId, string ruleId
1313
// `@id` for the `doNotCompareFunctionPointersToConstantValues` query
1414
"c/cert/do-not-compare-function-pointers-to-constant-values" and
1515
ruleId = "EXP16-C" and
16-
category = "rule"
16+
category = "recommendation"
1717
}
1818

1919
module Expressions2Package {

Diff for: rule_packages/c/Expressions2.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"CERT-C": {
33
"EXP16-C": {
44
"properties": {
5-
"obligation": "rule"
5+
"obligation": "recommendation"
66
},
77
"queries": [
88
{

0 commit comments

Comments
 (0)