]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Ignore cppcheck “Resource leak” warnings in test code
authorJoel Rosdahl <joel@rosdahl.net>
Sat, 20 Oct 2018 12:22:47 +0000 (14:22 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Thu, 25 Oct 2018 19:26:37 +0000 (21:26 +0200)
It’s not worth the effort to write leak-free code for test failure code
paths.

misc/cppcheck-suppressions.txt

index c05436829dfc9b3871240e1af46a72696f0e008d..3b6762b8aa58fd3234ff51ab4478d5429d8ca07e 100644 (file)
@@ -1,2 +1,5 @@
 ConfigurationNotChecked
 missingIncludeSystem
+
+// Not worth the effort to write leak-free code for test failure code paths.
+resourceLeak:unittest/*