]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
thresholds: remove dead code in parsing
authorVictor Julien <victor@inliniac.net>
Tue, 23 Oct 2018 13:10:56 +0000 (15:10 +0200)
committerVictor Julien <victor@inliniac.net>
Tue, 30 Oct 2018 09:21:34 +0000 (10:21 +0100)
src/util-threshold-config.c

index f6f2e91bd5b5b1879740c9b50ed7f96316a984da..c112fd5f7eb5bb61337135b3b02fee67c638ceec 100644 (file)
@@ -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) {