Cosmetics: fixed static analysis issues.

This commit is contained in:
Felipe Zimmerle
2020-01-15 20:35:59 -03:00
parent 1fc5847919
commit 86a5f471a9
21 changed files with 54 additions and 40 deletions

View File

@@ -30,10 +30,10 @@ namespace modsecurity {
AnchoredVariable::AnchoredVariable(Transaction *t,
std::string name)
: m_transaction(t),
m_var(NULL),
m_offset(0),
m_name(""),
m_value("") {
m_value(""),
m_var(NULL) {
m_name.append(name);
m_var = new VariableValue(&m_name);
}