]> rtime.felk.cvut.cz Git - l4.git/blobdiff - l4/pkg/bootstrap/server/src/exec.c
update
[l4.git] / l4 / pkg / bootstrap / server / src / exec.c
index 532b6ff78c8952c1286af94110ed536bf5e8c10a..2ca7a926253e037c31b9ebff3a3a620683b73c13 100644 (file)
@@ -32,7 +32,6 @@ exec_load_elf(exec_handler_func_t *handler,
   ElfW(Ehdr) *x = t->mod_start;
   ElfW(Phdr) *phdr, *ph;
   int i;
-  int result;
 
   /* Read the ELF header.  */
 
@@ -57,7 +56,7 @@ exec_load_elf(exec_handler_func_t *handler,
          if (ph->p_flags & PF_R) type |= EXEC_SECTYPE_READ;
          if (ph->p_flags & PF_W) type |= EXEC_SECTYPE_WRITE;
          if (ph->p_flags & PF_X) type |= EXEC_SECTYPE_EXECUTE;
-         result = (*handler)(handle,
+         (*handler)(handle,
                    ph->p_offset, ph->p_filesz,
                    ph->p_paddr, ph->p_vaddr, ph->p_memsz, type);
        }