diff options
author | Alan Modra <amodra@bigpond.net.au> | 2010-06-27 04:07:50 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2010-06-27 04:07:50 +0000 |
commit | 1995df0090ab0d2d6567c32ecd7665d320e55af5 (patch) | |
tree | b83b202dd37eae31c719df5fb29f1f96970c0f9a /bfd/elfxx-ia64.c | |
parent | 7b2094d39f8b2651b4a056bd5d5872ae9406f329 (diff) | |
download | binutils-redhat-1995df0090ab0d2d6567c32ecd7665d320e55af5.tar.gz |
fix set but unused variable warnings
Diffstat (limited to 'bfd/elfxx-ia64.c')
-rw-r--r-- | bfd/elfxx-ia64.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c index 5cb1a20ccc..0646ed1a8f 100644 --- a/bfd/elfxx-ia64.c +++ b/bfd/elfxx-ia64.c @@ -1409,8 +1409,6 @@ elfNN_ia64_section_from_shdr (bfd *abfd, const char *name, int shindex) { - asection *newsect; - /* There ought to be a place to keep ELF backend specific flags, but at the moment there isn't one. We just keep track of the sections by their name, instead. Fortunately, the ABI gives @@ -1433,7 +1431,6 @@ elfNN_ia64_section_from_shdr (bfd *abfd, if (! _bfd_elf_make_section_from_shdr (abfd, hdr, name, shindex)) return FALSE; - newsect = hdr->bfd_section; return TRUE; } @@ -5740,8 +5737,6 @@ elfNN_vms_section_from_shdr (bfd *abfd, const char *name, int shindex) { - asection *newsect; - switch (hdr->sh_type) { case SHT_IA_64_VMS_TRACE: @@ -5755,7 +5750,6 @@ elfNN_vms_section_from_shdr (bfd *abfd, if (! _bfd_elf_make_section_from_shdr (abfd, hdr, name, shindex)) return FALSE; - newsect = hdr->bfd_section; return TRUE; } |