File tree 2 files changed +1
-8
lines changed
2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change 69
69
sudo apt-get -y install cppcheck
70
70
sudo cpan Path::Class
71
71
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 \
73
73
--library=qt.cfg --library=posix.cfg . 2> >(tee error.log >&2)
74
74
perl scripts/warnings.pl error.log
75
75
Original file line number Diff line number Diff line change @@ -18,13 +18,6 @@ useStlAlgorithm
18
18
// Internal errors
19
19
cppcheckError
20
20
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
-
28
21
// Ignore unusedFunction as it has too many false positives (especially in tests)
29
22
unusedFunction
30
23
You can’t perform that action at this time.
0 commit comments