aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfcode.h
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/elfcode.h
parent63f2fc308398575e847c6137c241e47dbe36af6a (diff)
downloadfsf-binutils-gdb-b48c61bccb90f21e146389b29828671551f381d1.zip
fsf-binutils-gdb-b48c61bccb90f21e146389b29828671551f381d1.tar.gz
fsf-binutils-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/elfcode.h')
-rw-r--r--bfd/elfcode.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/bfd/elfcode.h b/bfd/elfcode.h
index 5a54fc2..fbf1c3f 100644
--- a/bfd/elfcode.h
+++ b/bfd/elfcode.h
@@ -1350,10 +1350,8 @@ elf_slurp_reloc_table_from_section (bfd *abfd,
}
else
{
- asymbol **ps, *s;
-
+ asymbol **ps;
ps = symbols + ELF_R_SYM (rela.r_info) - 1;
- s = *ps;
relent->sym_ptr_ptr = ps;
}