From 96c4a9db57118e4dccb6489bf93ed763ca3f18a5 Mon Sep 17 00:00:00 2001 From: David Gibson Date: Mon, 15 Jun 2026 18:18:29 +1000 Subject: cppcheck: Remove unused CPPCHECK_6936 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 Signed-off-by: Stefano Brivio --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0a0a60b..c19383f 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 -- cgit v1.2.3