This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=2a077d98b0750d89468f7ecb88932309a0edd5e9 commit 2a077d98b0750d89468f7ecb88932309a0edd5e9 Author: Guillem Jover <[email protected]> AuthorDate: Sun Nov 20 23:32:17 2022 +0100 test: Tell cppcheck the C/C++ standards the code intends to comply with This should give cppcheck a better understanding of what the code semantics are. --- t/cppcheck.t | 1 + 1 file changed, 1 insertion(+) diff --git a/t/cppcheck.t b/t/cppcheck.t index caef6cd35..b02661e85 100644 --- a/t/cppcheck.t +++ b/t/cppcheck.t @@ -32,6 +32,7 @@ plan tests => 1; my @cppcheck_opts = (qw( --quiet --force --error-exitcode=2 --inline-suppr + --std=c99 --std=c++03 --suppressions-list=t/cppcheck/cppcheck.supp ), ( '--enable=warning,performance,portability,style', -- Dpkg.Org's dpkg

