Removes init from SetVar

This commit is contained in:
Felipe Zimmerle 2020-08-20 09:05:33 -03:00
parent 5c1095e4e9
commit f5b6df5abd
No known key found for this signature in database
GPG Key ID: E6DFB08CE8B11277
2 changed files with 0 additions and 6 deletions

View File

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

View File

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