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.0.6~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1470b436b9a105ffb41cd87f98f9a99ee49c6217;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 29715a24bd..1962dbb559 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) {