diff --git a/addons/test/misra/misra-suppressions2-test.c b/addons/test/misra/misra-suppressions2-test.c index fe0569b2f..e32e2ab97 100644 --- a/addons/test/misra/misra-suppressions2-test.c +++ b/addons/test/misra/misra-suppressions2-test.c @@ -10,8 +10,8 @@ struct misra_5_2_field_hides_field__63y { //5.2 int misra_5_2_field_hides_field1_31x; int misra_5_2_field_hides_field1_31y;//5.2 }; -const char *s41_1 = "\x41g"; // 4.1 -const char *s41_2 = "\x41\x42"; +const char *s41_1 = "\x41g"; // 4.1 8.4 +const char *s41_2 = "\x41\x42"; // 8.4 // cppcheck-suppress misra-c2012-5.7 struct misra_5_7_violation_t { diff --git a/addons/test/misra/suppressions.txt b/addons/test/misra/suppressions.txt index 1f7af9b6b..81493ae6a 100644 --- a/addons/test/misra/suppressions.txt +++ b/addons/test/misra/suppressions.txt @@ -5,4 +5,5 @@ misra-c2012-8.4:*/misra-suppressions1-test.c misra-c2012-16.4:*/misra-suppressions1-test.c misra-c2012-16.6:*/misra-suppressions1-test.c misra-c2012-4.1:*/misra-suppressions2-test.c +misra-c2012-8.4:*/misra-suppressions2-test.c misra-c2012-19.2:*/misra-suppressions2-test.c