diff options
-rw-r--r-- | src/optimize.c | 1 | ||||
-rw-r--r-- | src/segtree.c | 5 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/optimize.c b/src/optimize.c index 0b99b672..9c170483 100644 --- a/src/optimize.c +++ b/src/optimize.c @@ -397,6 +397,7 @@ static int rule_collect_stmts(struct optimize_ctx *ctx, struct rule *rule) clone->ops = &unsupported_stmt_ops; break; } + /* fall-through */ case STMT_VERDICT: clone->expr = expr_get(stmt->expr); break; diff --git a/src/segtree.c b/src/segtree.c index a265a0b3..bf207402 100644 --- a/src/segtree.c +++ b/src/segtree.c @@ -128,9 +128,8 @@ static struct expr *get_set_interval_find(const struct set *cache_set, case EXPR_VALUE: if (expr_basetype(i->key)->type != TYPE_STRING) break; - /* string type, check if its a range (wildcard), so - * fall through. - */ + /* string type, check if its a range (wildcard). */ + /* fall-through */ case EXPR_PREFIX: case EXPR_RANGE: range_expr_value_low(val, i); |