mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Fix more cppcheck warning
This commit is contained in:
parent
8ae8374be5
commit
b42602f400
@ -619,6 +619,7 @@ class Transaction : public TransactionAnchoredVariables, public TransactionSecMa
|
||||
RequestBodyProcessor::JSON *m_json;
|
||||
|
||||
int m_secRuleEngine;
|
||||
int m_secXMLParseXmlIntoArgs;
|
||||
|
||||
std::string m_variableDuration;
|
||||
std::map<std::string, std::string> m_variableEnvs;
|
||||
@ -635,8 +636,6 @@ class Transaction : public TransactionAnchoredVariables, public TransactionSecMa
|
||||
|
||||
std::vector<std::shared_ptr<RequestBodyProcessor::MultipartPartTmpFile>> m_multipartPartTmpFiles;
|
||||
|
||||
int m_secXMLParseXmlIntoArgs;
|
||||
|
||||
private:
|
||||
|
||||
Transaction(ModSecurity *ms, RulesSet *rules, const char *id,
|
||||
|
@ -148,8 +148,8 @@ Transaction::Transaction(ModSecurity *ms, RulesSet *rules, const char *id,
|
||||
m_json(nullptr),
|
||||
#endif
|
||||
m_secRuleEngine(RulesSetProperties::PropertyNotSetRuleEngine),
|
||||
m_logCbData(logCbData),
|
||||
m_secXMLParseXmlIntoArgs(rules->m_secXMLParseXmlIntoArgs),
|
||||
m_logCbData(logCbData),
|
||||
TransactionAnchoredVariables(this) {
|
||||
m_variableUrlEncodedError.set("0", 0);
|
||||
m_variableMscPcreError.set("0", 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user