diff --git a/c/misra/test/rules/RULE-17-6/UseOfArrayStatic.expected b/c/misra/test/rules/RULE-17-6/UseOfArrayStatic.expected index ddf892a15c..b77efee39a 100644 --- a/c/misra/test/rules/RULE-17-6/UseOfArrayStatic.expected +++ b/c/misra/test/rules/RULE-17-6/UseOfArrayStatic.expected @@ -1,3 +1,2 @@ | test.c:2:33:2:36 | arr2 | Parameter arr2 is declared as an array type using the static keyword. | | test.c:3:39:3:42 | arr3 | Parameter arr3 is declared as an array type using the static keyword. | -| test.c:5:9:5:12 | arr4 | Parameter arr4 is declared as an array type using the static keyword. | diff --git a/c/misra/test/rules/RULE-17-6/test.c b/c/misra/test/rules/RULE-17-6/test.c index 14f04b5a9f..b0f0f828cd 100644 --- a/c/misra/test/rules/RULE-17-6/test.c +++ b/c/misra/test/rules/RULE-17-6/test.c @@ -1,8 +1,4 @@ void test_array(int arr1[10]) {} // COMPLIANT void test_array_uses_static(int arr2[static 11]) {} // NON_COMPLIANT void test_array_uses_static_multi(int arr3[static 12][5]) {} // NON_COMPLIANT -void test_array_uses_static_again( - int arr4[11]) { // COMPLIANT[FALSE_POSITIVE] - apparently a CodeQL - // bug where the static is associated with the fixed - // size -} \ No newline at end of file +void test_array_uses_static_again(int arr4[11]) {} // COMPLIANT