From: Joel Rosdahl Date: Sat, 20 Oct 2018 12:22:47 +0000 (+0200) Subject: Ignore cppcheck “Resource leak” warnings in test code X-Git-Tag: v3.5.1~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f710b0af49a68fd00f3ea7460bad1e4cf982613;p=thirdparty%2Fccache.git Ignore cppcheck “Resource leak” warnings in test code It’s not worth the effort to write leak-free code for test failure code paths. --- diff --git a/misc/cppcheck-suppressions.txt b/misc/cppcheck-suppressions.txt index c05436829..3b6762b8a 100644 --- a/misc/cppcheck-suppressions.txt +++ b/misc/cppcheck-suppressions.txt @@ -1,2 +1,5 @@ ConfigurationNotChecked missingIncludeSystem + +// Not worth the effort to write leak-free code for test failure code paths. +resourceLeak:unittest/*