test: remove outdated cppcheck option

This commit is contained in:
sudden6 2022-05-25 20:08:08 +02:00
parent 4062c3a2ba
commit 80c3a5dbb7
No known key found for this signature in database
GPG Key ID: 279509B499E032B9

View File

@ -11,8 +11,6 @@ CPPCHECK+=("--inconclusive")
CPPCHECK+=("--error-exitcode=1") CPPCHECK+=("--error-exitcode=1")
# Used for VLA. # Used for VLA.
CPPCHECK+=("--suppress=allocaCalled") CPPCHECK+=("--suppress=allocaCalled")
# False positives on sanctions_copy in group_moderation.c
CPPCHECK+=("--suppress=doubleFree")
# False positives in switch statements. # False positives in switch statements.
CPPCHECK+=("--suppress=knownConditionTrueFalse") CPPCHECK+=("--suppress=knownConditionTrueFalse")
# Cppcheck does not need standard library headers to get proper results. # Cppcheck does not need standard library headers to get proper results.
@ -24,10 +22,6 @@ CPPCHECK+=("--suppress=redundantAssignment")
# We're a library. This only works on whole programs. # We're a library. This only works on whole programs.
CPPCHECK_C=("--suppress=unusedFunction") CPPCHECK_C=("--suppress=unusedFunction")
# We actually write C code.
CPPCHECK_CXX=("--suppress=cstyleCast")
# False positive in cmp.c.
CPPCHECK_CXX+=("--suppress=objectIndex")
# False positive in auto_tests. # False positive in auto_tests.
CPPCHECK_CXX+=("--suppress=shadowArgument") CPPCHECK_CXX+=("--suppress=shadowArgument")
CPPCHECK_CXX+=("--suppress=shadowFunction") CPPCHECK_CXX+=("--suppress=shadowFunction")