aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2026-06-15 18:18:29 +1000
committerStefano Brivio <sbrivio@redhat.com>2026-06-16 23:49:24 +0200
commit96c4a9db57118e4dccb6489bf93ed763ca3f18a5 (patch)
tree5cba0624a6818642e7b59a62e2ee60d2deae8c3e
parenta9c61ffaf15347b8dfcc2347c5440e4b0e82333b (diff)
downloadpasst-96c4a9db57118e4dccb6489bf93ed763ca3f18a5.tar
passt-96c4a9db57118e4dccb6489bf93ed763ca3f18a5.tar.gz
passt-96c4a9db57118e4dccb6489bf93ed763ca3f18a5.tar.bz2
passt-96c4a9db57118e4dccb6489bf93ed763ca3f18a5.tar.lz
passt-96c4a9db57118e4dccb6489bf93ed763ca3f18a5.tar.xz
passt-96c4a9db57118e4dccb6489bf93ed763ca3f18a5.tar.zst
passt-96c4a9db57118e4dccb6489bf93ed763ca3f18a5.zip
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 <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rw-r--r--Makefile3
1 files changed, 1 insertions, 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