diff options
| author | 2025-12-10 09:57:22 +0100 | |
|---|---|---|
| committer | 2025-12-10 09:57:22 +0100 | |
| commit | 15cf067c4e65c1728c48ab049d48219daa436265 (patch) | |
| tree | 3dcac9f8a85cc9c9f5c2ecc62963800084124274 /amd64 | |
| parent | 600d94645e128dc88fdb9a2b6d42a5b49a138fd5 (diff) | |
misc fixes
Diffstat (limited to 'amd64')
| -rw-r--r-- | amd64/emit.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/amd64/emit.c b/amd64/emit.c index e188782..8f29cfc 100644 --- a/amd64/emit.c +++ b/amd64/emit.c @@ -1187,10 +1187,9 @@ emitbranch(uchar **pcode, struct block *blk) if (blk->s2) { /* conditional branch.. */ union ref arg = blk->jmp.arg[0]; - struct instr *ins; - struct block *unord; + struct block *unord = NULL; assert(arg.t == RTMP); - ins = &instrtab[arg.i]; + struct instr *ins = &instrtab[arg.i]; if ((oiscmp(ins->op) || ins->op == Oand || ins->op == Osub)) { if (ins->r.bits != ZEROREF.bits) { /* for CMP instr */ |