From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=none (p=none dis=none) header.from=gibson.dropbear.id.au Authentication-Results: passt.top; dkim=pass (2048-bit key; secure) header.d=gibson.dropbear.id.au header.i=@gibson.dropbear.id.au header.a=rsa-sha256 header.s=202606 header.b=pJjRsew8; dkim-atps=neutral Received: from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by passt.top (Postfix) with ESMTPS id 3BEAE5A026E for ; Mon, 15 Jun 2026 10:18:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202606; t=1781511516; bh=sG3F24oCy9UvtqtVQir6n4KVjVHcJZ2tf70WSmQSHZQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pJjRsew8Epn1DknlrP2PyQ4oMT4u79dlv/dywxR2VU/dr+U05kgn7T/hnx7L/kOwW +UDNBfKbx+6YnFrphVisadnP/1aJo9titrgU8XLCZjBQcjVcU+ity6UcuewIuaGLod EtPXVKILL3CSChN/yfV3Vbyzef+5sg2a7FBgCz5TUWfearNgv6kawv9xsbo0K74nAr H4G/3cRFmnp5gr9YGXIZ4hjheWIBPSrU9XSIcaOSNkrJ4HNbG3YMlyWQyTKcHIIj83 8/7UNFNsTsTFc4+ef6ktCQHVss0rT+CqIH1+WUb+cJsYZT8CqwkFqhNaJnia3EiR+5 3aTQoBcNn5O5g== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4gf30r1J41z4wTV; Mon, 15 Jun 2026 18:18:36 +1000 (AEST) From: David Gibson To: Stefano Brivio , passt-dev@passt.top Subject: [PATCH 1/5] cppcheck: Remove unused CPPCHECK_6936 Date: Mon, 15 Jun 2026 18:18:29 +1000 Message-ID: <20260615081833.1061725-2-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260615081833.1061725-1-david@gibson.dropbear.id.au> References: <20260615081833.1061725-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: OFP3TEKVXEU2X25EYYCDV2ZDLILTKPAI X-Message-ID-Hash: OFP3TEKVXEU2X25EYYCDV2ZDLILTKPAI X-MailFrom: dgibson@gandalf.ozlabs.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: David Gibson X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Our flags for cppcheck include -D CPPCHECK_6936. This used to enable a workaround for a cppcheck bug, but the code where we used it went away in commit 9153aca15bc1. Remove the now unused flag. Fixes: 9153aca15bc1 ("util: Add abort_with_msg() and ASSERT_WITH_MSG() helpers") Signed-off-by: David Gibson --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0a0a60b0..c19383f3 100644 --- a/Makefile +++ b/Makefile @@ -208,8 +208,7 @@ CPPCHECK_FLAGS = --std=c11 --error-exitcode=1 --enable=all --force \ else \ echo ""; \ fi) \ - --suppress=missingIncludeSystem \ - -D CPPCHECK_6936 + --suppress=missingIncludeSystem cppcheck: passt.cppcheck passt-repair.cppcheck pesto.cppcheck -- 2.54.0