From cd05be75fbd4a588c2285bb170b296d5910edf9a Mon Sep 17 00:00:00 2001 From: David Gibson Date: Wed, 28 Sep 2022 14:33:37 +1000 Subject: 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 Signed-off-by: Stefano Brivio --- Makefile | 2 -- 1 file changed, 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)) \ . -- cgit v1.2.3