Skip to content

Commit 3e6761b

Browse files
committed
selfcheck.yml: added suppressions for conditionally unused code
1 parent d535582 commit 3e6761b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/selfcheck.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ jobs:
124124
# TODO: find a way to report unmatched suppressions without need to add information checks
125125
- name: Self check (unusedFunction / no test / no gui)
126126
run: |
127+
supprs="--suppress=unusedFunction:lib/errorlogger.h:193 --suppress=unusedFunction:lib/importproject.cpp:1508 --suppress=unusedFunction:lib/suppressions.cpp:448"
127128
./cppcheck -q --template=selfcheck --error-exitcode=1 --library=cppcheck-lib -D__CPPCHECK__ -D__GNUC__ --enable=unusedFunction,information --exception-handling -rp=. --project=cmake.output.notest_nogui/compile_commands.json --suppressions-list=.selfcheck_unused_suppressions --inline-suppr
128129
env:
129130
DISABLE_VALUEFLOW: 1

0 commit comments

Comments
 (0)