aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2022-09-28 14:33:39 +1000
committerStefano Brivio <sbrivio@redhat.com>2022-09-29 12:23:05 +0200
commit65b649017c7e42b1c03de46fc9f2a918c53e64d9 (patch)
treeb9c8a0de30b110f225a48dd120bf3b2ddac420a7
parentf5d053034c029409115c4daf852d7d118e9bc671 (diff)
downloadpasst-65b649017c7e42b1c03de46fc9f2a918c53e64d9.tar
passt-65b649017c7e42b1c03de46fc9f2a918c53e64d9.tar.gz
passt-65b649017c7e42b1c03de46fc9f2a918c53e64d9.tar.bz2
passt-65b649017c7e42b1c03de46fc9f2a918c53e64d9.tar.lz
passt-65b649017c7e42b1c03de46fc9f2a918c53e64d9.tar.xz
passt-65b649017c7e42b1c03de46fc9f2a918c53e64d9.tar.zst
passt-65b649017c7e42b1c03de46fc9f2a918c53e64d9.zip
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 <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rw-r--r--Makefile3
1 files changed, 0 insertions, 3 deletions
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)) \
.