1
0
mirror of https://passt.top/passt synced 2024-07-02 07:52:41 +00:00

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>
This commit is contained in:
David Gibson 2022-09-28 14:33:37 +10:00 committed by Stefano Brivio
parent 5f77ac24c5
commit cd05be75fb

View File

@ -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)) \
.