From d23aeebff59a762b718fa46de96a8c2e23b6c3f7 Mon Sep 17 00:00:00 2001 From: lemon Date: Sun, 12 Apr 2026 12:54:21 +0200 Subject: ir_simpl: remove unused variable --- src/ir_simpl.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/ir_simpl.c b/src/ir_simpl.c index 4395c7d..3bd9ffc 100644 --- a/src/ir_simpl.c +++ b/src/ir_simpl.c @@ -214,8 +214,7 @@ void simpl(Function *fn) { FREQUIRE(FNUSE); - int inschange = 0, - blkchange = 0; + int blkchange = 0; Block **jmpfinal = allocz(fn->passarena, fn->nblk * sizeof *jmpfinal, 0); Block *blk = fn->entry; @@ -262,7 +261,7 @@ simpl(Function *fn) Instr *ins = &instrtab[blk->ins.p[curi]]; if (ins->op != Onop) { if (!(fn->prop & FNUSE)) filluses(fn); - inschange += doins(ins, blk, &curi); + doins(ins, blk, &curi); } } -- cgit v1.2.3