Address cppcheck 2.10 warnings (#2163)
Disable newer cppcheck until we can diagnose this further. References #2162.
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -101,8 +101,8 @@ jobs:
|
||||
|
||||
- name: Cppcheck
|
||||
run: |
|
||||
# work around resource leak false positives on older Linux distributions
|
||||
if cppcheck --version | awk '{if ($2 <= 1.86) { exit(1) } }'; then
|
||||
# work around resource leak false positives on older and newer Linux distributions
|
||||
if cppcheck --version | awk '{if ($2 <= 1.86 || $2 >= 2.10) { exit(1) } }'; then
|
||||
make cppcheck
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user