File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change 6969 sudo apt-get -y install cppcheck
7070 sudo cpan Path::Class
7171 cppcheck --template=gcc --inline-suppr --std=c++17 --enable=style,unusedFunction -i externals \
72- -DCPPCHECK --force --suppressions-list=cppcheck.supp \
72+ -i src/plugins/weatherdata/gfs/g2clib - DCPPCHECK --force --suppressions-list=cppcheck.supp \
7373 --library=qt.cfg --library=posix.cfg . 2> >(tee error.log >&2)
7474 perl scripts/warnings.pl error.log
7575
Original file line number Diff line number Diff line change @@ -18,13 +18,6 @@ useStlAlgorithm
1818// Internal errors
1919cppcheckError
2020
21- // g2clib
22- variableScope:src/plugins/weatherdata/gfs/g2clib/*.c
23- knownConditionTrueFalse:src/plugins/weatherdata/gfs/g2clib/*.c
24- redundantAssignment:src/plugins/weatherdata/gfs/g2clib/*.c
25- unreadVariable:src/plugins/weatherdata/gfs/g2clib/*.c
26- invalidFunctionArg:src/plugins/weatherdata/gfs/g2clib/*.c
27-
2821// Ignore unusedFunction as it has too many false positives (especially in tests)
2922unusedFunction
3023
You can’t perform that action at this time.
0 commit comments