summaryrefslogtreecommitdiff
path: root/bfd/hp300hpux.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2010-06-27 04:07:50 +0000
committerAlan Modra <amodra@bigpond.net.au>2010-06-27 04:07:50 +0000
commit1995df0090ab0d2d6567c32ecd7665d320e55af5 (patch)
treeb83b202dd37eae31c719df5fb29f1f96970c0f9a /bfd/hp300hpux.c
parent7b2094d39f8b2651b4a056bd5d5872ae9406f329 (diff)
downloadbinutils-redhat-1995df0090ab0d2d6567c32ecd7665d320e55af5.tar.gz
fix set but unused variable warnings
Diffstat (limited to 'bfd/hp300hpux.c')
-rw-r--r--bfd/hp300hpux.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/bfd/hp300hpux.c b/bfd/hp300hpux.c
index 3ca56429e7..7779fef1ec 100644
--- a/bfd/hp300hpux.c
+++ b/bfd/hp300hpux.c
@@ -1,6 +1,6 @@
/* BFD backend for hp-ux 9000/300
Copyright 1990, 1991, 1993, 1994, 1995, 1997, 1999, 2000, 2001, 2002,
- 2003, 2004, 2005, 2007 Free Software Foundation, Inc.
+ 2003, 2004, 2005, 2007, 2010 Free Software Foundation, Inc.
Written by Glenn Engel.
This file is part of BFD, the Binary File Descriptor library.
@@ -592,7 +592,6 @@ MY (slurp_symbol_table) (abfd)
/* OK, now walk the new symtable, caching symbol properties */
{
aout_symbol_type *cache_ptr = cached;
- aout_symbol_type cache_save;
/* Run through table and copy values */
for (sym_pointer = syms, cache_ptr = cached;
sym_pointer < sym_end; sym_pointer++, cache_ptr++)
@@ -606,7 +605,6 @@ MY (slurp_symbol_table) (abfd)
length = bfd_get_8 (abfd, sym_pointer->e_length);
cache_ptr->other = length; /* other not used, save length here */
- cache_save = *cache_ptr;
convert_sym_type (sym_pointer, cache_ptr, abfd);
if (!translate_from_native_sym_flags (abfd, cache_ptr))
return FALSE;