diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2022-09-28 14:33:35 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-09-29 12:22:54 +0200 |
commit | 20a342781273128837c505f112791d1f0a7fcc16 (patch) | |
tree | c2188105fc20b253d453a9bf60f12208e1927932 | |
parent | 5beb3472ed4cf92be1fe1f27668dc0f1284bb2a8 (diff) | |
download | passt-20a342781273128837c505f112791d1f0a7fcc16.tar passt-20a342781273128837c505f112791d1f0a7fcc16.tar.gz passt-20a342781273128837c505f112791d1f0a7fcc16.tar.bz2 passt-20a342781273128837c505f112791d1f0a7fcc16.tar.lz passt-20a342781273128837c505f112791d1f0a7fcc16.tar.xz passt-20a342781273128837c505f112791d1f0a7fcc16.tar.zst passt-20a342781273128837c505f112791d1f0a7fcc16.zip |
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>
-rw-r--r-- | Makefile | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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 \ |