From b35a6cfa0c7dbc92fd54f96072de26c3b687ce82 Mon Sep 17 00:00:00 2001 From: David Gibson Date: Wed, 28 Sep 2022 14:33:29 +1000 Subject: 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 Signed-off-by: Stefano Brivio --- Makefile | 1 - 1 file changed, 1 deletion(-) (limited to 'Makefile') 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 \ -- cgit v1.2.3