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=1c4e2a641746ea624938cb1957351bea11f00a02 commit 1c4e2a641746ea624938cb1957351bea11f00a02 Author: Guillem Jover <[email protected]> AuthorDate: Mon Jun 22 01:43:03 2020 +0200 test: Update suppressions for cppcheck 2.1 We need to disable some more false positives related to cppcheck not understanding non-returning functions. --- debian/changelog | 2 +- t/cppcheck/cppcheck.supp | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index b7ed22066..5d0ba4859 100644 --- a/debian/changelog +++ b/debian/changelog @@ -103,7 +103,7 @@ dpkg (1.20.1) UNRELEASED; urgency=medium - Do not use make prerequisites on suffix rule definitions. Closes: #961850 - Add man page number suffixes to the automake SUFFIXES variable. - - Update false positive suppressions for cppcheck 1.20. + - Update false positive suppressions for cppcheck 2.1. - Install specifications and API contracts in docdir. - Add support for switching man pages from roff to POD format. * Packaging: diff --git a/t/cppcheck/cppcheck.supp b/t/cppcheck/cppcheck.supp index e12c31db7..e828bd47a 100644 --- a/t/cppcheck/cppcheck.supp +++ b/t/cppcheck/cppcheck.supp @@ -42,7 +42,14 @@ identicalInnerCondition:lib/dpkg/fsys-hash.c:100 unusedStructMember:lib/dpkg/triglib.c:378 // BUG: False positive, does not understand non-returning functors. +negativeIndex:dpkg-deb/build.c +nullPointerArithmeticRedundantCheck:lib/dpkg/db-fsys-files.c +nullPointerArithmeticRedundantCheck:lib/dpkg/db-fsys-override.c +nullPointerRedundantCheck:dpkg-deb/build.c +nullPointerRedundantCheck:lib/dpkg/db-fsys-override.c nullPointerRedundantCheck:lib/dpkg/ehandle.c +nullPointerRedundantCheck:src/enquiry.c +nullPointerRedundantCheck:src/unpack.c nullPointerRedundantCheck:utils/update-alternatives.c:1193 doubleFree:utils/update-alternatives.c:1248 -- Dpkg.Org's dpkg

