2013-06-01 Miguel Figueiredo <el...@debianpt.org>

* exec/exec.c (check_section): remove unused variable

--
Melhores cumprimentos/Best regards,

Miguel Figueiredo
diff --git a/exec/exec.c b/exec/exec.c
index a4f2f74..30a5e00 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;

Reply via email to