summaryrefslogtreecommitdiff
path: root/exec/exec.c
diff options
context:
space:
mode:
authorMiguel Figueiredo <elmig@debianpt.org>2013-06-01 20:09:26 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-06-01 20:09:26 +0200
commitf6ba5a8c49d881140c065b9eee7713d2f16e2477 (patch)
tree024e2a86434dcc74659a1ffd10d65812a7a267c7 /exec/exec.c
parentb297c79f3e49237bb6d0b15351238be7efb82e50 (diff)
Remove unused variable
* exec/exec.c (check_section): Remove unused variable.
Diffstat (limited to 'exec/exec.c')
-rw-r--r--exec/exec.c3
1 files changed, 0 insertions, 3 deletions
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;