mirror of
https://github.com/yasm/yasm
synced 2026-08-26 22:26:05 -04:00
Fix -Wdeclaration-after-statement warning (ISO C90 forbids mixed declarations and code) (#313)
This commit is contained in:
parent
5500e13ed5
commit
baceff9d12
1 changed files with 2 additions and 1 deletions
|
|
@ -656,9 +656,10 @@ x86_bc_insn_expand(yasm_bytecode *bc, int span, long old_val, long new_val,
|
|||
x86_insn *insn = (x86_insn *)bc->contents;
|
||||
x86_effaddr *x86_ea = insn->x86_ea;
|
||||
yasm_effaddr *ea = NULL;
|
||||
yasm_value *imm;
|
||||
if (x86_ea != NULL)
|
||||
ea = &x86_ea->ea;
|
||||
yasm_value *imm = insn->imm;
|
||||
imm = insn->imm;
|
||||
|
||||
if (ea && span == 1) {
|
||||
/* Change displacement length into word-sized */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue