summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2024-05-02 00:45:27 +0200
committerAlejandro Colomar <alx@kernel.org>2024-05-02 01:24:39 +0200
commit2b366937159c5d45b05ebca076a7681a142620e9 (patch)
treeec4aef36d35b9b2e47a03f51dd44044df141fd3d
parentdcde2f70372b49ec43efc5db864c9ff585d0a2dd (diff)
share/mk/: $CPPCHECKFLAGS: Add --check-level=exhaustive
This avoids warnings of the form: ...: information: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. [normalCheckLevelMaxBranches] Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--share/mk/configure/build-depends/cppcheck/cppcheck.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/mk/configure/build-depends/cppcheck/cppcheck.mk b/share/mk/configure/build-depends/cppcheck/cppcheck.mk
index bf0c57a45..2a5d84495 100644
--- a/share/mk/configure/build-depends/cppcheck/cppcheck.mk
+++ b/share/mk/configure/build-depends/cppcheck/cppcheck.mk
@@ -14,6 +14,7 @@ DEFAULT_CPPCHECKFLAGS := \
--enable=all \
--error-exitcode=2 \
--inconclusive \
+ --check-level=exhaustive \
--quiet \
--suppressions-list=$(CPPCHECK_SUPPRESS)
EXTRA_CPPCHECKFLAGS :=