From d6851d4d2654406abdc55a017961eb7b3c623500 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Sun, 25 Sep 2011 18:01:45 +0400 Subject: [PATCH] assemble: Drop redundant variable Signed-off-by: Cyrill Gorcunov --- assemble.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/assemble.c b/assemble.c index 9c283cca..7374139f 100644 --- a/assemble.c +++ b/assemble.c @@ -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... */