From 65b649017c7e42b1c03de46fc9f2a918c53e64d9 Mon Sep 17 00:00:00 2001 From: David Gibson Date: Wed, 28 Sep 2022 14:33:39 +1000 Subject: cppcheck: Remove unused unmatchedSuppression suppressions It's unclear what original suppressions these unmatchedSuppression suppressions were supposed to go with. They don't trigger any warnings on the current code that I can tell, so remove them. If we find a problem with some cppcheck versions in future, replace them with inline suppressions so it's clearer exactly where the issue is originating. Signed-off-by: David Gibson Signed-off-by: Stefano Brivio --- Makefile | 3 --- 1 file changed, 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index bb349c7..7a0b829 100644 --- a/Makefile +++ b/Makefile @@ -284,8 +284,5 @@ cppcheck: $(SRCS) $(HEADERS) $(SYSTEM_INCLUDES:%=--suppress=unmatchedSuppression:%/*) \ --inline-suppr \ --suppress=unusedStructMember \ - \ - --suppress=unmatchedSuppression:dhcp.c \ - --suppress=unmatchedSuppression:pcap.c \ $(filter -D%,$(FLAGS) $(CFLAGS)) \ . -- cgit v1.2.3