aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2022-09-28 14:33:37 +1000
committerStefano Brivio <sbrivio@redhat.com>2022-09-29 12:23:01 +0200
commitcd05be75fbd4a588c2285bb170b296d5910edf9a (patch)
tree33e56ac0373c021333eee79d2ad1f3b13488634e
parent5f77ac24c55dca1537d12c993245a972d53a09ab (diff)
downloadpasst-cd05be75fbd4a588c2285bb170b296d5910edf9a.tar
passt-cd05be75fbd4a588c2285bb170b296d5910edf9a.tar.gz
passt-cd05be75fbd4a588c2285bb170b296d5910edf9a.tar.bz2
passt-cd05be75fbd4a588c2285bb170b296d5910edf9a.tar.lz
passt-cd05be75fbd4a588c2285bb170b296d5910edf9a.tar.xz
passt-cd05be75fbd4a588c2285bb170b296d5910edf9a.tar.zst
passt-cd05be75fbd4a588c2285bb170b296d5910edf9a.zip
cppcheck: Remove unused va_list_usedBeforeStarted suppression
I can't get this warning to trigger, even without the suppression, so remove it. If it shows up again on some cppcheck version, we can replace it with inline suppressions so it's clear where the issue lay. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rw-r--r--Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6df559e..7b3f8e1 100644
--- a/Makefile
+++ b/Makefile
@@ -283,12 +283,10 @@ cppcheck: $(SRCS) $(HEADERS)
$(SYSTEM_INCLUDES:%=--suppress=*:%/*) \
$(SYSTEM_INCLUDES:%=--suppress=unmatchedSuppression:%/*) \
--inline-suppr \
- --suppress=va_list_usedBeforeStarted:util.c \
--suppress=unusedFunction \
--suppress=unusedStructMember \
\
--suppress=unmatchedSuppression:dhcp.c \
--suppress=unmatchedSuppression:pcap.c \
- --suppress=unmatchedSuppression:util.c \
$(filter -D%,$(FLAGS) $(CFLAGS)) \
.