diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2012-12-01 19:38:47 +0400 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2012-12-01 19:38:47 +0400 |
commit | f0ee88040fa9363371fa8f32eb0473287884211c (patch) | |
tree | 5e7d5ec8b7504ceb0142794c9c1cc84e5dc93c21 | |
parent | 3efd91865c31fefb4f61f72fb25b126b2ed5530b (diff) | |
download | nasm-f0ee88040fa9363371fa8f32eb0473287884211c.tar.gz |
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
@@ -2275,14 +2275,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); |