Cosmetic changes: applies changes suggested by static analysis

This commit is contained in:
Felipe Zimmerle
2016-07-12 00:46:12 -03:00
parent 247f24c5bb
commit 4078677b7f
26 changed files with 139 additions and 122 deletions

View File

@@ -11,6 +11,8 @@ unusedFunction:test/optimization/optimization.cc
unusedFunction:src/utils.cc
*:src/parser/seclang-parser.hh
*:src/parser/seclang-scanner.cc
*:parser/seclang-parser.hh
*:parser/seclang-scanner.cc
*:others/libinjection/src/libinjection_html5.c
*:others/libinjection/src/libinjection_sqli.c
*:others/libinjection/src/libinjection_xss.c
@@ -20,5 +22,16 @@ unusedFunction:src/utils.cc
*:others/libinjection/src/test_speed_sqli.c
*:others/libinjection/src/test_speed_xss.c
*:others/libinjection/src/testdriver.c
initializerList:src/actions/action.h:90
initializerList:src/actions/action.h:91
unusedLabel:src/unique_id.cc:222
unusedLabel:src/unique_id.cc:224
leakReturnValNotUsed:src/debug_log_writer_agent.cc:31
postfixOperator:*
*:src/utils/mbedtls/base64.c
*:src/utils/mbedtls/sha1.c
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