From 20a342781273128837c505f112791d1f0a7fcc16 Mon Sep 17 00:00:00 2001 From: David Gibson Date: Wed, 28 Sep 2022 14:33:35 +1000 Subject: cppcheck: Remove unused knownConditionTrueFalse suppression I can't get this warning to trigger, so I think this suppression must be out of date. Whether that's because we've changed our code to no longer have the problem, or because cppcheck itself has been updated to remove a false positive I don't know. If we find that we do need a suppression like this for some cppcheck version, we should replace it with an inline suppression so it's clear what exactly is triggering the warning. Signed-off-by: David Gibson Signed-off-by: Stefano Brivio --- Makefile | 2 -- 1 file changed, 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1aa7b6f..15be57c 100644 --- a/Makefile +++ b/Makefile @@ -287,9 +287,7 @@ cppcheck: $(SRCS) $(HEADERS) --suppress=va_list_usedBeforeStarted:util.c \ --suppress=unusedFunction \ --suppress=unusedStructMember \ - --suppress=knownConditionTrueFalse:conf.c \ \ - --suppress=unmatchedSuppression:conf.c \ --suppress=unmatchedSuppression:dhcp.c \ --suppress=unmatchedSuppression:pcap.c \ --suppress=unmatchedSuppression:tcp.c \ -- cgit v1.2.3