From 1470b436b9a105ffb41cd87f98f9a99ee49c6217 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Tue, 23 Oct 2018 15:10:56 +0200 Subject: [PATCH] thresholds: remove dead code in parsing --- src/util-threshold-config.c | 3 --- 1 file changed, 3 deletions(-) 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) { -- 2.47.2