Skip to content

Commit

Permalink
Remove unncessary condition creation
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitris-athanasiou committed Jun 12, 2018
1 parent 2181d41 commit d1c9b36
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/api/CDetectionRulesJsonParser.cc
Expand Up @@ -127,7 +127,6 @@ bool CDetectionRulesJsonParser::parseRuleActions(const rapidjson::Value& ruleObj

int action = 0;
for (unsigned int i = 0; i < array.Size(); ++i) {
model::CRuleCondition ruleCondition;
const std::string& parsedAction = array[i].GetString();
if (parsedAction == SKIP_RESULT) {
action |= model::CDetectionRule::E_SkipResult;
Expand Down

0 comments on commit d1c9b36

Please sign in to comment.