From 8343e617954511810e0b59a74047d361c0d55f7e Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Wed, 14 Nov 2018 11:25:57 +0100 Subject: [PATCH] cppcheck: Suppress incorrectStringBooleanError This triggers on `assert(condition && "message")`, which we use fairly frequently. --- .cppcheck.suppressions | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.cppcheck.suppressions b/.cppcheck.suppressions index 154eebed2..cfc6a0d74 100644 --- a/.cppcheck.suppressions +++ b/.cppcheck.suppressions @@ -8,3 +8,5 @@ varFuncNullUB // the warning being suppressed. In other words this unmatchedSuppression // warnings are false positives. unmatchedSuppression +// Suppress this one because it reports assert(condition && "message"), which we use all over the place +incorrectStringBooleanError