From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Gibson To: passt-dev@passt.top Subject: [PATCH v2 28/28] cppcheck: Remove unused unmatchedSuppression suppressions Date: Thu, 29 Sep 2022 13:38:32 +1000 Message-ID: <20220929033832.923149-29-david@gibson.dropbear.id.au> In-Reply-To: <20220929033832.923149-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7562537638826084882==" --===============7562537638826084882== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit It's unclear what original suppressions these unmatchedSuppression suppressions were supposed to go with. They don't trigger any warnings on the current code that I can tell, so remove them. If we find a problem with some cppcheck versions in future, replace them with inline suppressions so it's clearer exactly where the issue is originating. Signed-off-by: David Gibson --- Makefile | 3 --- 1 file changed, 3 deletions(-) diff --git a/Makefile b/Makefile index bb349c7..7a0b829 100644 --- a/Makefile +++ b/Makefile @@ -284,8 +284,5 @@ cppcheck: $(SRCS) $(HEADERS) $(SYSTEM_INCLUDES:%=--suppress=unmatchedSuppression:%/*) \ --inline-suppr \ --suppress=unusedStructMember \ - \ - --suppress=unmatchedSuppression:dhcp.c \ - --suppress=unmatchedSuppression:pcap.c \ $(filter -D%,$(FLAGS) $(CFLAGS)) \ . -- 2.37.3 --===============7562537638826084882==--