summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2011-07-17 14:02:52 +0400
committerCyrill Gorcunov <gorcunov@gmail.com>2011-07-17 14:02:52 +0400
commit397402016f55535203e2fa1c07741670b6cebfe7 (patch)
tree9a6fabfca4169495ce24640df24c9ba9f6d0718c
parent0aa9bdf7b2fa49ed2ea06e8aebd10886c92cc139 (diff)
downloadnasm-397402016f55535203e2fa1c07741670b6cebfe7.tar.gz
Drop unused 'type' from gencode
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
-rw-r--r--assemble.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/assemble.c b/assemble.c
index fd78b21c..790bb12d 100644
--- a/assemble.c
+++ b/assemble.c
@@ -1788,7 +1788,6 @@ static void gencode(int32_t segment, int64_t offset, int bits,
opflags_t rflags;
uint8_t *p;
int32_t s;
- enum out_type type;
struct operand *opy = &ins->oprs[op2];
if (c <= 0177) {
@@ -1849,7 +1848,6 @@ static void gencode(int32_t segment, int64_t offset, int bits,
signed_bits(opy->offset, ea_data.bytes * 8))
warn_overflow(ERR_PASS2, ea_data.bytes);
- type = OUT_ADDRESS;
out(offset, segment, &data, OUT_ADDRESS,
ea_data.bytes, opy->segment, opy->wrt);
}