process_ea: Drop redundant variable
authorCyrill Gorcunov <gorcunov@gmail.com>
Sat, 1 Dec 2012 15:38:47 +0000 (19:38 +0400)
committerCyrill Gorcunov <gorcunov@gmail.com>
Fri, 1 Mar 2013 22:45:53 +0000 (02:45 +0400)
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
assemble.c

index df0ac7d..f025360 100644 (file)
@@ -2131,14 +2131,10 @@ static enum ea_type process_ea(operand *input, ea *output, int bits,
         /*
          * It's a direct register.
          */
-        opflags_t f;
-
         if (!is_register(input->basereg))
             goto err;
 
-        f = regflag(input);
-
-        if (!is_class(REG_EA, f))
+        if (!is_class(REG_EA, regflag(input)))
             goto err;
 
         output->rex         |= op_rexflags(input, REX_B | REX_P | REX_W | REX_H);