aboutsummaryrefslogtreecommitdiff
path: root/bfd/archive.c
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2006-05-02 10:01:56 +0000
committerBen Elliston <bje@au.ibm.com>2006-05-02 10:01:56 +0000
commitb48c61bccb90f21e146389b29828671551f381d1 (patch)
treec1ee39eb4fa6dacfc4b24347dae26c34e1c53b33 /bfd/archive.c
parent63f2fc308398575e847c6137c241e47dbe36af6a (diff)
downloadgdb-b48c61bccb90f21e146389b29828671551f381d1.zip
gdb-b48c61bccb90f21e146389b29828671551f381d1.tar.gz
gdb-b48c61bccb90f21e146389b29828671551f381d1.tar.bz2
* archive.c (bfd_generic_archive_p): Remove unused local variable
`fail'. * dwarf2.c (decode_line_info): Remove unused local variable `basic_block'. * elfcode.h (elf_slurp_reloc_table_from_section): Remove unsed local varibale `s'. * tekhex.c (tekhex_write_object_contents): Remove unused local variable `bytes_written'. * aout-ns32k.c (MY_swap_std_reloc_out): Remove unused local variable `r_addend'. * elf32-dlx.c (dlx_rtype_to_howto): Remove breaks after returns. * elfxx-mips.c (_bfd_elf_mips_mach): Remove breaks after returns. (_bfd_ns32k_relocate_contents): Remove break after return. * elf.c (bfd_section_from_shdr): Remove breaks after returns.
Diffstat (limited to 'bfd/archive.c')
-rw-r--r--bfd/archive.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/bfd/archive.c b/bfd/archive.c
index 5a12f01..d6930fb 100644
--- a/bfd/archive.c
+++ b/bfd/archive.c
@@ -666,10 +666,7 @@ bfd_generic_archive_p (bfd *abfd)
first = bfd_openr_next_archived_file (abfd, NULL);
if (first != NULL)
{
- bfd_boolean fail;
-
first->target_defaulted = FALSE;
- fail = FALSE;
if (bfd_check_format (first, bfd_object)
&& first->xvec != abfd->xvec)
{