Cosmetics: address cppcheck warnings

This commit is contained in:
Felipe Zimmerle
2020-01-27 18:11:08 -03:00
parent 68ef2dece3
commit fe98ce4c7d
53 changed files with 358 additions and 279 deletions

View File

@@ -44,9 +44,9 @@ using actions::Action;
/** @ingroup ModSecurity_CPP_API */
class RuleScript : public Rule {
public:
RuleScript(std::string name,
RuleScript(const std::string &name,
std::vector<Action *> *actions,
std::string fileName,
const std::string &fileName,
int lineNumber)
: Rule(NULL, NULL, actions, fileName, lineNumber),
m_name(name) { }