diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2012-12-01 19:38:47 +0400 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2013-03-02 02:45:53 +0400 |
commit | c7ce6a4f226acd11c6b4c411a1b57ccfd05a30b1 (patch) | |
tree | 24da26ee83ebd62ef450144d20dea41acbef1438 | |
parent | 4e8396b5cf3981f0746ed815ce8b6fb89146821e (diff) | |
download | nasm-c7ce6a4f226acd11c6b4c411a1b57ccfd05a30b1.tar.gz nasm-c7ce6a4f226acd11c6b4c411a1b57ccfd05a30b1.tar.bz2 nasm-c7ce6a4f226acd11c6b4c411a1b57ccfd05a30b1.zip |
process_ea: Drop redundant variable
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
-rw-r--r-- | assemble.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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); |