diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-10-01 15:12:14 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-10-01 15:12:16 -0400 |
commit | d174d2c46591b15bd875ee2f7e46a594eaf9eccb (patch) | |
tree | 003b8ea5b746e6d72d40ac86f601acc7ddbdd95c | |
parent | c44d37d6a21ee9a62cd6b26c24999e8006e2c62c (diff) |
ldso: x86_64: delete unused variable
gcc informed me:
In file included from ldso/ldso/ldso.c:46:0:
ldso/ldso/x86_64/elfinterp.c: In function '_dl_do_lazy_reloc':
ldso/ldso/x86_64/elfinterp.c:294:6: warning:
variable 'symtab_index' set but not used [-Wunused-but-set-variable]
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r-- | ldso/ldso/x86_64/elfinterp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ldso/ldso/x86_64/elfinterp.c b/ldso/ldso/x86_64/elfinterp.c index c099fd6f4..d8b38d3fd 100644 --- a/ldso/ldso/x86_64/elfinterp.c +++ b/ldso/ldso/x86_64/elfinterp.c @@ -291,14 +291,12 @@ _dl_do_lazy_reloc(struct elf_resolve *tpnt, struct r_scope_elem *scope, ELF_RELOC *rpnt, ElfW(Sym) *symtab, char *strtab) { int reloc_type; - int symtab_index; ElfW(Addr) *reloc_addr; #if defined (__SUPPORT_LD_DEBUG__) ElfW(Addr) old_val; #endif (void)scope; - symtab_index = ELF_R_SYM(rpnt->r_info); (void)strtab; reloc_addr = (ElfW(Addr)*)(tpnt->loadaddr + rpnt->r_offset); |