Skip to content

Commit f3f82cb

Browse files
authored
fix(autoware_geography_utils): fix cppcheck-differential errors (#108)
* add file Signed-off-by: Yutaka Kondo <yutaka.kondo@youtalk.jp> * Revert "chore(.github): change suppression options in `cppcheck-differencial` check (#106)" This reverts commit 0b33221. --------- Signed-off-by: Yutaka Kondo <yutaka.kondo@youtalk.jp>
1 parent f94c0f8 commit f3f82cb

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.cppcheck_suppressions

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*:*/test/*
2+
3+
missingIncludeSystem

.github/workflows/cppcheck-differential.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
id: cppcheck
7272
run: |
7373
echo "Running Cppcheck on modified packages: ${{ steps.filter-paths-no-cpp-files.outputs.filtered-full-paths }}"
74-
cppcheck --enable=all --inconclusive --check-level=exhaustive -D'PLUGINLIB_EXPORT_CLASS(class_type, base_class)=' -Dslots= -DQ_SLOTS= --error-exitcode=1 --suppress=*:*/test/* --inline-suppr ${{ steps.filter-paths-no-cpp-files.outputs.filtered-full-paths }} 2> cppcheck-report.txt
74+
cppcheck --enable=all --inconclusive --check-level=exhaustive -D'PLUGINLIB_EXPORT_CLASS(class_type, base_class)=' -Dslots= -DQ_SLOTS= --error-exitcode=1 --suppressions-list=.cppcheck_suppressions --inline-suppr ${{ steps.filter-paths-no-cpp-files.outputs.filtered-full-paths }} 2> cppcheck-report.txt
7575
shell: bash
7676

7777
- name: Setup Problem Matchers for cppcheck

0 commit comments

Comments
 (0)