File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -140,13 +140,13 @@ ifeq ($(FAIL_FAST), true)
140140 $(QUIET) $(FIND_C_EXAMPLES_CMD) | grep '^[\/]\|^[a-zA-Z]:[/\]' | while read -r file; do \
141141 echo ''; \
142142 echo "Linting file: $$file"; \
143- $(CPPCHECK) $(CPPCHECK_FLAGS) --suppressions-list=$(CPPCHECK_SUPPRESSIONS_LIST_EXAMPLES) $$file || exit 1; \
143+ $(CPPCHECK) $(CPPCHECK_FLAGS) --enable=unusedFunction -- suppressions-list=$(CPPCHECK_SUPPRESSIONS_LIST_EXAMPLES) $$file || exit 1; \
144144 done
145145else
146146 $(QUIET) $(FIND_C_EXAMPLES_CMD) | grep '^[\/]\|^[a-zA-Z]:[/\]' | while read -r file; do \
147147 echo ''; \
148148 echo "Linting file: $$file"; \
149- $(CPPCHECK) $(CPPCHECK_FLAGS) --suppressions-list=$(CPPCHECK_SUPPRESSIONS_LIST_EXAMPLES) $$file || echo 'Linting failed.'; \
149+ $(CPPCHECK) $(CPPCHECK_FLAGS) --enable=unusedFunction -- suppressions-list=$(CPPCHECK_SUPPRESSIONS_LIST_EXAMPLES) $$file || echo 'Linting failed.'; \
150150 done
151151endif
152152
You can’t perform that action at this time.
0 commit comments