summaryrefslogtreecommitdiff
path: root/output
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2011-07-17 14:04:44 +0400
committerCyrill Gorcunov <gorcunov@gmail.com>2011-07-17 14:04:44 +0400
commit32af9d75f314dd792b1ec53c68b4c187e78d89cd (patch)
treeef090bda3bdf7b55bfbb8cb9ce6754b41acc210a /output
parent397402016f55535203e2fa1c07741670b6cebfe7 (diff)
downloadnasm-32af9d75f314dd792b1ec53c68b4c187e78d89cd.tar.gz
nasm-32af9d75f314dd792b1ec53c68b4c187e78d89cd.tar.bz2
nasm-32af9d75f314dd792b1ec53c68b4c187e78d89cd.zip
elf64: Drop unused 'zero' variable
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'output')
-rw-r--r--output/outelf64.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/output/outelf64.c b/output/outelf64.c
index 46cc6aa..4574a7f 100644
--- a/output/outelf64.c
+++ b/output/outelf64.c
@@ -709,13 +709,11 @@ static void elf_out(int32_t segto, const void *data,
int32_t segment, int32_t wrt)
{
struct Section *s;
- int64_t addr, zero;
+ int64_t addr;
int reltype, bytes;
int i;
static struct symlininfo sinfo;
- zero = 0;
-
#if defined(DEBUG) && DEBUG>2
if (data)
nasm_error(ERR_DEBUG,