summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;