diff --git a/src/pattern.c b/src/pattern.c index b4cb8e9ea6..9d07b89c5a 100644 --- a/src/pattern.c +++ b/src/pattern.c @@ -1021,6 +1021,9 @@ struct pattern *pat_match_ip(struct sample *smp, struct pattern_expr *expr, int } else continue; + } else { + /* impossible */ + continue; } /* Check if the input sample match the current pattern. */