diff --git a/build_tools/cppcheck.sh b/build_tools/cppcheck.sh index 5a69cd489..412de8347 100755 --- a/build_tools/cppcheck.sh +++ b/build_tools/cppcheck.sh @@ -3,4 +3,5 @@ cppcheck --enable=all --std=posix --quiet \ --suppressions-list=build_tools/cppcheck.suppressions \ --rule-file=build_tools/cppcheck.rules \ + --force \ ./src/ diff --git a/build_tools/cppcheck.suppressions b/build_tools/cppcheck.suppressions index cfc6a0d74..7a9b2550c 100644 --- a/build_tools/cppcheck.suppressions +++ b/build_tools/cppcheck.suppressions @@ -10,3 +10,6 @@ varFuncNullUB unmatchedSuppression // Suppress this one because it reports assert(condition && "message"), which we use all over the place incorrectStringBooleanError + +// This is of very little use and pops up *everywhere*. +useStlAlgorithm