From 7ef8d31e4f1fb86760692aaed1ca804fabd8b23a 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 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) {