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=unusedFunction \
--suppress=unusedStructMember \ --suppress=unusedStructMember \
--suppress=knownConditionTrueFalse:conf.c \ --suppress=knownConditionTrueFalse:conf.c \
--suppress=localtimeCalled:pcap.c \
\ \
--suppress=unmatchedSuppression:conf.c \ --suppress=unmatchedSuppression:conf.c \
--suppress=unmatchedSuppression:dhcp.c \ --suppress=unmatchedSuppression:dhcp.c \