aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2022-09-28 14:33:29 +1000
committerStefano Brivio <sbrivio@redhat.com>2022-09-29 12:22:25 +0200
commitb35a6cfa0c7dbc92fd54f96072de26c3b687ce82 (patch)
treed25626f5cdaa788d554383698e8364fa58a924ec
parent6ce68113e38bd91ed9d31741a380972b34cbced6 (diff)
downloadpasst-b35a6cfa0c7dbc92fd54f96072de26c3b687ce82.tar
passt-b35a6cfa0c7dbc92fd54f96072de26c3b687ce82.tar.gz
passt-b35a6cfa0c7dbc92fd54f96072de26c3b687ce82.tar.bz2
passt-b35a6cfa0c7dbc92fd54f96072de26c3b687ce82.tar.lz
passt-b35a6cfa0c7dbc92fd54f96072de26c3b687ce82.tar.xz
passt-b35a6cfa0c7dbc92fd54f96072de26c3b687ce82.tar.zst
passt-b35a6cfa0c7dbc92fd54f96072de26c3b687ce82.zip
cppcheck: Remove localtime suppression for pcap.c
Since bf95322f "conf: Make the argument to --pcap option mandatory" we no longer call localtime() in pcap.c, so we no longer need the matching cppcheck suppression. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rw-r--r--Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e3ca17f..deee529 100644
--- a/Makefile
+++ b/Makefile
@@ -288,7 +288,6 @@ cppcheck: $(SRCS) $(HEADERS)
--suppress=unusedFunction \
--suppress=unusedStructMember \
--suppress=knownConditionTrueFalse:conf.c \
- --suppress=localtimeCalled:pcap.c \
\
--suppress=unmatchedSuppression:conf.c \
--suppress=unmatchedSuppression:dhcp.c \