mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
test: remove outdated cppcheck option
This commit is contained in:
parent
4062c3a2ba
commit
80c3a5dbb7
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user