cppcheck: make static analysis more pedantic

This commit is contained in:
Felipe Zimmerle
2020-01-17 11:41:05 -03:00
parent cd9b8aa93b
commit 4f13fecbaf
23 changed files with 58 additions and 42 deletions

View File

@@ -40,8 +40,8 @@ class FuzzyHash : public Operator {
/** @ingroup ModSecurity_Operator */
explicit FuzzyHash(std::unique_ptr<RunTimeString> param)
: Operator("FuzzyHash", std::move(param)),
m_head(NULL),
m_threshold(0) { }
m_threshold(0),
m_head(NULL) { }
~FuzzyHash();
bool evaluate(Transaction *transaction, const std::string &std) override;