From f6ba5a8c49d881140c065b9eee7713d2f16e2477 Mon Sep 17 00:00:00 2001 From: Miguel Figueiredo Date: Sat, 1 Jun 2013 20:09:26 +0200 Subject: Remove unused variable * exec/exec.c (check_section): Remove unused variable. --- exec/exec.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'exec/exec.c') diff --git a/exec/exec.c b/exec/exec.c index a4f2f748..30a5e000 100644 --- a/exec/exec.c +++ b/exec/exec.c @@ -86,7 +86,6 @@ static void check_section (bfd *bfd, asection *sec, void *userdata) { struct execdata *u = userdata; - vm_address_t addr; static const union { char string[8]; @@ -105,8 +104,6 @@ check_section (bfd *bfd, asection *sec, void *userdata) /* Nothing to do for this section. */ return; - addr = (vm_address_t) sec->vma; - if (sec->flags & SEC_LOAD) { u->info.bfd_locations[sec->index] = sec->filepos; -- cgit v1.2.3