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=4910a5d92612925fb041473928aef31c50513439

commit 4910a5d92612925fb041473928aef31c50513439
Author: Guillem Jover <[email protected]>
AuthorDate: Thu Aug 29 01:30:47 2019 +0200

    test: Clarify cppcheck va_list_usedBeforeStarted suppression
    
    This is actually due to our local va_copy() compatibility code, which
    cppcheck does not understand. Using the same code w/o the local macro
    does not emit the false positive.
---
 debian/changelog         | 1 +
 t/cppcheck/cppcheck.supp | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 7e752d101..b6b08c655 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -46,6 +46,7 @@ dpkg (1.20.0) UNRELEASED; urgency=medium
     - Install m4 files into system aclocal directory.
   * Test suite:
     - Remove perlcritic Documentation::RequirePodLinksIncludeText suppression.
+    - Clarify cppcheck va_list_usedBeforeStarted suppression.
 
   [ Updated man pages translations ]
   * German (Helge Kreutzmann). Closes: #931135
diff --git a/t/cppcheck/cppcheck.supp b/t/cppcheck/cppcheck.supp
index 6dcb19361..d3030db34 100644
--- a/t/cppcheck/cppcheck.supp
+++ b/t/cppcheck/cppcheck.supp
@@ -50,5 +50,5 @@ doubleFree:src/script.c
 doubleFree:utils/update-alternatives.c:1213
 va_end_missing:lib/dpkg/parsehelp.c:68
 
-// BUG: False positive, the code uses va_copy().
+// BUG: False positive, due to our local va_copy().
 va_list_usedBeforeStarted:lib/compat/vasprintf.c

-- 
Dpkg.Org's dpkg

Reply via email to