From c7ce6a4f226acd11c6b4c411a1b57ccfd05a30b1 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Sat, 1 Dec 2012 19:38:47 +0400 Subject: [PATCH] process_ea: Drop redundant variable Signed-off-by: Cyrill Gorcunov --- assemble.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/assemble.c b/assemble.c index df0ac7de..f0253606 100644 --- a/assemble.c +++ b/assemble.c @@ -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); -- 2.11.4.GIT