summaryrefslogtreecommitdiffstats
path: root/src/cppcheck-suppress.lst
diff options
context:
space:
mode:
authorJelte Jansen <jelte@isc.org>2012-10-02 09:41:38 +0200
committerJelte Jansen <jelte@isc.org>2012-10-02 09:41:38 +0200
commit2bed6220f561fa39358fb81fde8a2ee0a1b85c38 (patch)
tree7a1ed2a6d0ef6e74196a122b4d9b5f24d4437d8f /src/cppcheck-suppress.lst
parent[2278] remove a bit of dead code (diff)
downloadkea-2bed6220f561fa39358fb81fde8a2ee0a1b85c38.tar.xz
kea-2bed6220f561fa39358fb81fde8a2ee0a1b85c38.zip
[2278] Add temporary suppression for false positives
Diffstat (limited to 'src/cppcheck-suppress.lst')
-rw-r--r--src/cppcheck-suppress.lst15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/cppcheck-suppress.lst b/src/cppcheck-suppress.lst
index ff4a79a195..9dc8d99619 100644
--- a/src/cppcheck-suppress.lst
+++ b/src/cppcheck-suppress.lst
@@ -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