Skip to content

Commit 30dfd56

Browse files
committed
selfcheck.yml: enabled UNUSEDFUNCTION_ONLY hack
1 parent d47f4d1 commit 30dfd56

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/selfcheck.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jobs:
6363
./cppcheck -q --template=selfcheck --error-exitcode=1 --library=cppcheck-lib --library=qt -D__CPPCHECK__ -D__GNUC__ -DQT_VERSION=0x050000 -DQ_MOC_OUTPUT_REVISION=67 --enable=unusedFunction --exception-handling -rp=. --project=cmake.output/compile_commands.json --suppressions-list=.selfcheck_unused_suppressions --inline-suppr
6464
env:
6565
DISABLE_VALUEFLOW: 1
66+
UNUSEDFUNCTION_ONLY: 1
6667

6768
# the following steps are duplicated from above since setting up the build node in a parallel step takes longer than the actual steps
6869
- name: CMake (no test)
@@ -83,3 +84,4 @@ jobs:
8384
./cppcheck -q --template=selfcheck --error-exitcode=1 --library=cppcheck-lib --library=qt -D__CPPCHECK__ -D__GNUC__ -DQT_VERSION=0x050000 -DQ_MOC_OUTPUT_REVISION=67 --enable=unusedFunction --exception-handling -rp=. --project=cmake.output.notest/compile_commands.json --suppressions-list=.selfcheck_unused_suppressions --inline-suppr
8485
env:
8586
DISABLE_VALUEFLOW: 1
87+
UNUSEDFUNCTION_ONLY: 1

0 commit comments

Comments
 (0)