This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch master in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=0ecdc83131190666cc1ccfe5b8b43e97ade7cff2 commit 0ecdc83131190666cc1ccfe5b8b43e97ade7cff2 (HEAD -> master) Author: Guillem Jover <[email protected]> AuthorDate: Wed Jan 29 00:25:09 2020 +0100 test: Update suppressions for cppcheck 1.90 Some got introduced in 1.89 and fixed in 1.90, others had been fixed before but never noticed, remove them now. Update the comments to match the newly grouped suppressions. --- t/cppcheck/cppcheck.supp | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) diff --git a/t/cppcheck/cppcheck.supp b/t/cppcheck/cppcheck.supp index 880cf79b3..cd5a4db0c 100644 --- a/t/cppcheck/cppcheck.supp +++ b/t/cppcheck/cppcheck.supp @@ -27,34 +27,17 @@ 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 - // BUG: False positive, the loop does an early exit. identicalInnerCondition:lib/dpkg/fsys-hash.c:100 // BUG: False positive, the macros from lib/dpkg/dlist.h use the tail member. 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 +// BUG: False positive, does not understand non-returning functors. nullPointerRedundantCheck:utils/update-alternatives.c:1193 - -// BUG: False positive, does not understand ohshit(), ohshite() and -// bad_format as error terminators. -doubleFree:src/script.c doubleFree:utils/update-alternatives.c:1248 + +// BUG: False positive, does not understand non-returning functions + vaargs. va_end_missing:lib/dpkg/parsehelp.c:68 // BUG: False positive, due to our local va_copy(). -- Dpkg.Org's dpkg

