From: Victor Julien Date: Tue, 23 Oct 2018 13:10:56 +0000 (+0200) Subject: thresholds: remove dead code in parsing X-Git-Tag: suricata-4.1.0~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ef8d31e4f1fb86760692aaed1ca804fabd8b23a;p=thirdparty%2Fsuricata.git thresholds: remove dead code in parsing --- diff --git a/src/util-threshold-config.c b/src/util-threshold-config.c index f6f2e91bd5..c112fd5f7e 100644 --- a/src/util-threshold-config.c +++ b/src/util-threshold-config.c @@ -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) {