assert(1) is noop, this should be assert(0) instead. Fixes: 561aa3cfa8da ("optimize: merge verdict maps with same lookup key") Signed-off-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> --- v3: no changes src/optimize.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/optimize.c b/src/optimize.c index af075da437f9..6ba7e5a10cf8 100644 --- a/src/optimize.c +++ b/src/optimize.c @@ -362,11 +362,11 @@ static void merge_verdict_stmts(const struct optimize_ctx *ctx, merge_vmap(ctx, stmt_a, stmt_b); break; default: - assert(1); + assert(0); } break; default: - assert(1); + assert(0); break; } } @@ -385,7 +385,7 @@ static void merge_stmts(const struct optimize_ctx *ctx, merge_verdict_stmts(ctx, from, to, merge, stmt_a); break; default: - assert(1); + assert(0); } } -- 2.30.2