1
0
mirror of https://passt.top/passt synced 2024-07-02 07:52:41 +00:00

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>
This commit is contained in:
David Gibson 2022-09-28 14:33:29 +10:00 committed by Stefano Brivio
parent 6ce68113e3
commit b35a6cfa0c

View File

@ -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 \