mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-21 03:14:19 +08:00
assemble: Drop redundant variable
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
a2c7855577
commit
d6851d4d26
@ -2671,8 +2671,7 @@ static void add_asp(insn *ins, int addrbits)
|
||||
ins->addr_size = addrbits;
|
||||
} else if (valid & ((addrbits == 32) ? 16 : 32)) {
|
||||
/* Add an address size prefix */
|
||||
enum prefixes pref = (addrbits == 32) ? P_A16 : P_A32;
|
||||
ins->prefixes[PPS_ASIZE] = pref;
|
||||
ins->prefixes[PPS_ASIZE] = (addrbits == 32) ? P_A16 : P_A32;;
|
||||
ins->addr_size = (addrbits == 32) ? 16 : 32;
|
||||
} else {
|
||||
/* Impossible... */
|
||||
|
Loading…
Reference in New Issue
Block a user