mirror of
https://passt.top/passt
synced 2024-12-22 21:55:22 +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:
parent
5f77ac24c5
commit
cd05be75fb
2
Makefile
2
Makefile
@ -283,12 +283,10 @@ cppcheck: $(SRCS) $(HEADERS)
|
|||||||
$(SYSTEM_INCLUDES:%=--suppress=*:%/*) \
|
$(SYSTEM_INCLUDES:%=--suppress=*:%/*) \
|
||||||
$(SYSTEM_INCLUDES:%=--suppress=unmatchedSuppression:%/*) \
|
$(SYSTEM_INCLUDES:%=--suppress=unmatchedSuppression:%/*) \
|
||||||
--inline-suppr \
|
--inline-suppr \
|
||||||
--suppress=va_list_usedBeforeStarted:util.c \
|
|
||||||
--suppress=unusedFunction \
|
--suppress=unusedFunction \
|
||||||
--suppress=unusedStructMember \
|
--suppress=unusedStructMember \
|
||||||
\
|
\
|
||||||
--suppress=unmatchedSuppression:dhcp.c \
|
--suppress=unmatchedSuppression:dhcp.c \
|
||||||
--suppress=unmatchedSuppression:pcap.c \
|
--suppress=unmatchedSuppression:pcap.c \
|
||||||
--suppress=unmatchedSuppression:util.c \
|
|
||||||
$(filter -D%,$(FLAGS) $(CFLAGS)) \
|
$(filter -D%,$(FLAGS) $(CFLAGS)) \
|
||||||
.
|
.
|
||||||
|
Loading…
Reference in New Issue
Block a user