misra-test.cpp: Remove redundant unused function argument

The unused argument causes the new check for rule 2.7 to output an error
here.
I verified that the regression test still works without the unused
argument (misra.py would still crash).
Travis should be happy again.
This commit is contained in:
versat 2019-11-18 15:57:53 +01:00
parent 2ff18b76ec
commit 0dd180d5a2
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ class misra_21_1_C {
misra_21_1_C operator=(const misra_21_1_C &); misra_21_1_C operator=(const misra_21_1_C &);
}; };
static bool test_misra_21_1_crash(const C* cc) static bool test_misra_21_1_crash()
{ {
auto misra_21_1_C a, b; auto misra_21_1_C a, b;
a = b; a = b;