]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2726] Enable more thorough cppcheck
authorMichal 'vorner' Vaner <vorner@vorner.cz>
Wed, 12 Jun 2013 08:38:58 +0000 (10:38 +0200)
committerMichal 'vorner' Vaner <vorner@vorner.cz>
Wed, 12 Jun 2013 08:44:45 +0000 (10:44 +0200)
It seems to check more and run longer. It also produces bunch of new
warnings.

Makefile.am

index 10ef3214a2c274491e472760484fde429f03e102..edfce76f748343405872c8ae288d00272c6667c6 100644 (file)
@@ -110,7 +110,8 @@ report-coverage: report-cpp-coverage report-python-coverage
 
 # for static C++ check using cppcheck (when available)
 cppcheck:
-       cppcheck --enable=all --suppressions src/cppcheck-suppress.lst --inline-suppr \
+       cppcheck -I./src/lib --enable=all --suppressions \
+               src/cppcheck-suppress.lst --inline-suppr \
                --quiet --error-exitcode=1 \
                --template '{file}:{line}: check_fail: {message} ({severity},{id})' \
                src