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 <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:35 +10:00 committed by Stefano Brivio
parent 5beb3472ed
commit 20a3427812

View file

@ -287,9 +287,7 @@ cppcheck: $(SRCS) $(HEADERS)
--suppress=va_list_usedBeforeStarted:util.c \ --suppress=va_list_usedBeforeStarted:util.c \
--suppress=unusedFunction \ --suppress=unusedFunction \
--suppress=unusedStructMember \ --suppress=unusedStructMember \
--suppress=knownConditionTrueFalse:conf.c \
\ \
--suppress=unmatchedSuppression:conf.c \
--suppress=unmatchedSuppression:dhcp.c \ --suppress=unmatchedSuppression:dhcp.c \
--suppress=unmatchedSuppression:pcap.c \ --suppress=unmatchedSuppression:pcap.c \
--suppress=unmatchedSuppression:tcp.c \ --suppress=unmatchedSuppression:tcp.c \