aboutgitcodebugslistschat
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2022-09-28 14:33:36 +1000
committerStefano Brivio <sbrivio@redhat.com>2022-09-29 12:22:57 +0200
commit5f77ac24c55dca1537d12c993245a972d53a09ab (patch)
treeec8b798b2398c8e94bfa3b7c09c59af07f7cdaa3 /Makefile
parent20a342781273128837c505f112791d1f0a7fcc16 (diff)
downloadpasst-5f77ac24c55dca1537d12c993245a972d53a09ab.tar
passt-5f77ac24c55dca1537d12c993245a972d53a09ab.tar.gz
passt-5f77ac24c55dca1537d12c993245a972d53a09ab.tar.bz2
passt-5f77ac24c55dca1537d12c993245a972d53a09ab.tar.lz
passt-5f77ac24c55dca1537d12c993245a972d53a09ab.tar.xz
passt-5f77ac24c55dca1537d12c993245a972d53a09ab.tar.zst
passt-5f77ac24c55dca1537d12c993245a972d53a09ab.zip
cppcheck: Remove unused objectIndex suppressions
I can't get these warnings to trigger on the cppcheck versions I have, so remove them. If we find in future we need to replace these, they should be replaced with inline suppressions so its clear what's the section of code at issue. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 0 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 15be57c..6df559e 100644
--- a/Makefile
+++ b/Makefile
@@ -283,15 +283,12 @@ cppcheck: $(SRCS) $(HEADERS)
$(SYSTEM_INCLUDES:%=--suppress=*:%/*) \
$(SYSTEM_INCLUDES:%=--suppress=unmatchedSuppression:%/*) \
--inline-suppr \
- --suppress=objectIndex:tcp.c --suppress=objectIndex:udp.c \
--suppress=va_list_usedBeforeStarted:util.c \
--suppress=unusedFunction \
--suppress=unusedStructMember \
\
--suppress=unmatchedSuppression:dhcp.c \
--suppress=unmatchedSuppression:pcap.c \
- --suppress=unmatchedSuppression:tcp.c \
- --suppress=unmatchedSuppression:udp.c \
--suppress=unmatchedSuppression:util.c \
$(filter -D%,$(FLAGS) $(CFLAGS)) \
.