diff options
| author | Guillem Jover <guillem@debian.org> | 2019-10-02 04:17:05 +0200 |
|---|---|---|
| committer | Guillem Jover <guillem@debian.org> | 2019-10-30 22:16:24 +0100 |
| commit | 2be46e2ad4b07758336a84552bbeb6bf3583e812 (patch) | |
| tree | 1c8887f8ebdb8eb853f0d94bf97daf772cc2453a /t/cppcheck | |
| parent | cdf22e3757608040460329b46db3fad73e159bcd (diff) | |
| download | dpkg-2be46e2ad4b07758336a84552bbeb6bf3583e812.tar.gz | |
test: Suppress new bogus cppcheck 1.89 false positives
Warned-by: cppcheck
Diffstat (limited to 't/cppcheck')
| -rw-r--r-- | t/cppcheck/cppcheck.supp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/t/cppcheck/cppcheck.supp b/t/cppcheck/cppcheck.supp index d3030db34..8aa1de7ae 100644 --- a/t/cppcheck/cppcheck.supp +++ b/t/cppcheck/cppcheck.supp @@ -21,6 +21,12 @@ literalWithCharPtrCompare:lib/dpkg/t/t-test.c // Ignore, the code is used only for its binary artifacts. uninitMemberVar:*/Dpkg_Shlibs/patterns.cpp +// BUG: False positive, the variable uses operator() which writes to it. +constVariable:dselect/pkgsublist.cc:111 + +// BUG: False positive. +syntaxError:lib/dpkg/t/*.c + // BUG: False positive. knownConditionTrueFalse:src/depcon.c:585 knownConditionTrueFalse:src/depcon.c:668 @@ -37,6 +43,13 @@ unusedStructMember:lib/dpkg/triglib.c:378 // BUG: False positive, does not understand must-allocate functions. nullPointer:src/unpack.c:195 +// BUG: False positive, does not understand non-returning functions. +nullPointer:utils/start-stop-daemon.c:756 +nullPointer:utils/start-stop-daemon.c:758 + +// BUG: False positive, does not understand parser. +nullPointerArithmeticRedundantCheck:lib/dpkg/pkg-format.c:82 + // BUG: False positive, does not understand setjmp-style error handling. redundantAssignment:lib/compat/selinux.c:73 redundantAssignment:lib/dpkg/t/t-ehandle.c:108 |
