thresholds: remove dead code in parsing

pull/3534/head
Victor Julien 8 years ago
parent 8ef0818c3b
commit 7ef8d31e4f

@ -902,9 +902,6 @@ static int ParseThresholdRule(DetectEngineCtx *de_ctx, char *rawstr,
goto error;
}
break;
default:
SCLogError(SC_ERR_PCRE_MATCH, "unable to find rule type for string %s", rawstr);
goto error;
}
switch (rule_type) {

Loading…
Cancel
Save