summaryrefslogtreecommitdiffstats
path: root/src/unstrip.c
diff options
context:
space:
mode:
authorRoland McGrath <[email protected]>2011-02-08 19:48:02 -0800
committerRoland McGrath <[email protected]>2011-02-08 19:48:02 -0800
commit8f6c1795ab9d41f03805eebd55767070ade55aac (patch)
treeffb67b9121ed93661fccc39ec59cf150b74b4453 /src/unstrip.c
parent4db89f04bb59327abd7a3b60e88f2e7e73c65c79 (diff)
unstrip: Remove unused variable.
Diffstat (limited to 'src/unstrip.c')
-rw-r--r--src/unstrip.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/unstrip.c b/src/unstrip.c
index 443cd620..3283d736 100644
--- a/src/unstrip.c
+++ b/src/unstrip.c
@@ -1,5 +1,5 @@
/* Combine stripped files with separate symbols and debug information.
- Copyright (C) 2007-2010 Red Hat, Inc.
+ Copyright (C) 2007-2011 Red Hat, Inc.
This file is part of Red Hat elfutils.
Written by Roland McGrath <[email protected]>, 2007.
@@ -1301,7 +1301,6 @@ more sections in stripped file than debug file -- arguments reversed?"));
/* Match each debuginfo section with its corresponding stripped section. */
bool check_prelink = false;
Elf_Scn *unstripped_symtab = NULL;
- size_t unstripped_strtab_ndx = SHN_UNDEF;
size_t alloc_avail = 0;
scn = NULL;
while ((scn = elf_nextscn (unstripped, scn)) != NULL)
@@ -1313,7 +1312,6 @@ more sections in stripped file than debug file -- arguments reversed?"));
if (shdr->sh_type == SHT_SYMTAB)
{
unstripped_symtab = scn;
- unstripped_strtab_ndx = shdr->sh_link;
continue;
}