aboutsummaryrefslogtreecommitdiff
path: root/bfd/tekhex.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/tekhex.c
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/tekhex.c')
-rw-r--r--bfd/tekhex.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/bfd/tekhex.c b/bfd/tekhex.c
index afe42cc..e40c866 100644
--- a/bfd/tekhex.c
+++ b/bfd/tekhex.c
@@ -751,7 +751,6 @@ out (bfd *abfd, int type, char *start, char *end)
static bfd_boolean
tekhex_write_object_contents (bfd *abfd)
{
- int bytes_written;
char buffer[100];
asymbol **p;
asection *s;
@@ -759,8 +758,6 @@ tekhex_write_object_contents (bfd *abfd)
tekhex_init ();
- bytes_written = 0;
-
/* And the raw data. */
for (d = abfd->tdata.tekhex_data->data;
d != NULL;