mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-16 13:18:12 +01:00
(lookup_symbol): Delete unused variable "str_size".
(Logical change 1.130)
This commit is contained in:
parent
3e1200c200
commit
dee53d7800
1 changed files with 1 additions and 2 deletions
|
@ -47,7 +47,7 @@ elfW (lookup_symbol) (unw_word_t ip, struct elf_image *ei,
|
|||
ElfW (Addr) load_offset,
|
||||
char *buf, size_t buf_len, unw_word_t *offp)
|
||||
{
|
||||
size_t syment_size, str_size;
|
||||
size_t syment_size;
|
||||
ElfW (Ehdr) *ehdr = ei->image;
|
||||
ElfW (Sym) *sym, *symtab, *symtab_end;
|
||||
ElfW (Off) soff, str_soff;
|
||||
|
@ -91,7 +91,6 @@ elfW (lookup_symbol) (unw_word_t ip, struct elf_image *ei,
|
|||
break;
|
||||
}
|
||||
str_shdr = (ElfW (Shdr) *) ((char *) ei->image + str_soff);
|
||||
str_size = str_shdr->sh_size;
|
||||
strtab = (char *) ei->image + str_shdr->sh_offset;
|
||||
|
||||
debug (160, "symtab=0x%lx[%d], strtab=0x%lx\n",
|
||||
|
|
Loading…
Reference in a new issue