Removes init from SetVar

This commit is contained in:
Felipe Zimmerle 2020-08-20 09:05:33 -03:00 committed by Felipe Zimmerle
parent 0f1d3bfc3e
commit d3ba2318d6
2 changed files with 0 additions and 6 deletions

View File

@ -37,11 +37,6 @@ namespace modsecurity {
namespace actions {
bool SetVar::init(std::string *error) {
return true;
}
bool SetVar::execute(Transaction *t) const noexcept {
std::string targetValue;
std::string resolvedPre;

View File

@ -86,7 +86,6 @@ class SetVar : public ActionWithRunTimeString, public ActionWithExecution {
bool execute(Transaction *transaction) const noexcept override;
bool init(std::string *error) override;
void populate(RuleWithActions *rule) override {
ActionWithRunTimeString::populate(rule);