summaryrefslogtreecommitdiff
path: root/src/dwarf/Gfind_proc_info-lsb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dwarf/Gfind_proc_info-lsb.c')
-rw-r--r--src/dwarf/Gfind_proc_info-lsb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dwarf/Gfind_proc_info-lsb.c b/src/dwarf/Gfind_proc_info-lsb.c
index 196cfca3..8ead48f0 100644
--- a/src/dwarf/Gfind_proc_info-lsb.c
+++ b/src/dwarf/Gfind_proc_info-lsb.c
@@ -135,9 +135,9 @@ load_debug_frame (const char *file, char **buf, size_t *bufsize, int is_local,
#if defined(SHF_COMPRESSED)
if (shdr->sh_flags & SHF_COMPRESSED)
{
- unsigned long destSize;
Elf_W (Chdr) *chdr = (shdr->sh_offset + ei.image);
#ifdef HAVE_ZLIB
+ unsigned long destSize;
if (chdr->ch_type == ELFCOMPRESS_ZLIB)
{
*bufsize = destSize = chdr->ch_size;