From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Gibson To: passt-dev@passt.top Subject: [PATCH 18/28] cppcheck: Remove localtime suppression for pcap.c Date: Wed, 28 Sep 2022 14:33:29 +1000 Message-ID: <20220928043339.613538-19-david@gibson.dropbear.id.au> In-Reply-To: <20220928043339.613538-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2357069353596426542==" --===============2357069353596426542== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 --- Makefile | 1 - 1 file changed, 1 deletion(-) 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 \ -- 2.37.3 --===============2357069353596426542==--