Adds more suppressions to the cppcheck

This commit is contained in:
Felipe Zimmerle 2016-07-12 12:52:55 -03:00
parent 4078677b7f
commit f26824bcf4
No known key found for this signature in database
GPG Key ID: E6DFB08CE8B11277
2 changed files with 11 additions and 2 deletions

View File

@ -42,7 +42,15 @@ MAINTAINERCLEANFILES = \
ylwrap
cppcheck:
cppcheck --suppressions-list=./test/cppcheck_suppressions.txt --enable=all --inconclusive --template="{file},{line},{severity},{id},{message}" -U YYSTYPE -U YY_USER_INIT --std=posix .
cppcheck \
--suppressions-list=./test/cppcheck_suppressions.txt \
--enable=all \
--inconclusive \
--template="{file},{line},{severity},{id},{message}" \
-U YYSTYPE \
-U YY_USER_INIT \
--std=posix . 2> cppcheck.txt
cat cppcheck.txt
@VALGRIND_CHECK_RULES@
VALGRIND_SUPPRESSIONS_FILES = valgrind_suppressions.txt

View File

@ -34,4 +34,5 @@ readdirCalled:test/common/modsecurity_test.cc:114
missingInclude:*
unreadVariable:test/regression/regression.cc:380
shiftNegative:src/utils/msc_tree.cc
nullPointerRedundantCheck::src/utils/msc_tree.cc
nullPointerRedundantCheck:src/utils/msc_tree.cc:654