]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2278] Add temporary suppression for false positives
authorJelte Jansen <jelte@isc.org>
Tue, 2 Oct 2012 07:41:38 +0000 (09:41 +0200)
committerJelte Jansen <jelte@isc.org>
Tue, 2 Oct 2012 07:41:38 +0000 (09:41 +0200)
src/cppcheck-suppress.lst

index ff4a79a195ee7e239f9520477207a31e3121d9ac..9dc8d996198766de0f5bf94aff50f0620dbc7b37 100644 (file)
@@ -11,3 +11,18 @@ missingInclude
 //
 //    // cppcheck-suppress duplicateExpression
 //    EXPECT_FALSE(small_name < small_name);
+
+// With cppcheck 1.56, there are a number of false positives, which
+// All of these should be checked and hopefully removed after upgrading
+// cppcheck past 1.56
+
+// eraseDereference: This is a known false positive, which has been
+// fixed in the current development version of cppcheck
+eraseDereference
+
+// Unused functions: there suddenly are a lot of unused function errors
+// We could address those by adding for instance early declarations or
+// (unnecessary) header files, but they were all somewhat false positives
+// When we upgrade past 1.56, we should re-check this, and perhaps enable
+// unused-functions again.
+unusedFunction