Skip to content

Commit 2750f69

Browse files
committed
EssentialTypes: Fix metadata consistency issue
1 parent e84f98f commit 2750f69

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

c/misra/src/rules/RULE-21-16/MemcmpOnInappropriateEssentialTypeArgs.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @id c/misra/memcmp-on-inappropriate-essential-type-args
3-
* @name RULE-21-16: Do not use memcmp on pointers to characters or composite types such as structs and unions.
3+
* @name RULE-21-16: Do not use memcmp on pointers to characters or composite types such as structs and unions
44
* @description The pointer arguments to the Standard Library function memcmp shall point to either
55
* a pointer type, an essentially signed type, an essentially unsigned type, an
66
* essentially Boolean type or an essentially enum type.

rule_packages/c/EssentialTypes.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@
218218
{
219219
"description": "The pointer arguments to the Standard Library function memcmp shall point to either a pointer type, an essentially signed type, an essentially unsigned type, an essentially Boolean type or an essentially enum type.",
220220
"kind": "problem",
221-
"name": "Do not use memcmp on pointers to characters or composite types such as structs and unions.",
221+
"name": "Do not use memcmp on pointers to characters or composite types such as structs and unions",
222222
"precision": "very-high",
223223
"severity": "error",
224224
"short_name": "MemcmpOnInappropriateEssentialTypeArgs",

0 commit comments

Comments
 (0)