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