]> 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>
Thu, 1 Nov 2018 14:46:10 +0000 (15:46 +0100)
src/util-threshold-config.c

index 29715a24bd407b388650f0bc324aae186934bc6a..1962dbb559fe45129b88f41ea2d1315c79be0c7b 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) {