From dee53d780094be559381f8584a0a95222ecf5bb5 Mon Sep 17 00:00:00 2001 From: "hp.com!davidm" Date: Thu, 27 Nov 2003 06:52:54 +0000 Subject: [PATCH] (lookup_symbol): Delete unused variable "str_size". (Logical change 1.130) --- src/elfxx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/elfxx.c b/src/elfxx.c index 6a5469e0..50b4101a 100644 --- a/src/elfxx.c +++ b/src/elfxx.c @@ -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",