aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2006-05-04 05:05:25 +0000
committerBen Elliston <bje@au.ibm.com>2006-05-04 05:05:25 +0000
commit9578239d3edd0341cca6686bdf89ba9f5a1cd9f7 (patch)
treeadbc992b8c6d413b1aa379e1723a5dcb36310a6f /bfd/ihex.c
parentdaily update (diff)
downloadbinutils-gdb-9578239d3edd0341cca6686bdf89ba9f5a1cd9f7.tar.gz
binutils-gdb-9578239d3edd0341cca6686bdf89ba9f5a1cd9f7.tar.bz2
binutils-gdb-9578239d3edd0341cca6686bdf89ba9f5a1cd9f7.zip
* coff-or32.c (bfd_section_from_shdr): Remove unused local
variable `ptr'. * cofflink.c (process_embedded_commands): Remove unused local variables `had_read' and `had_shared'. * ecofflink.c (bfd_ecoff_debug_accumulate): Remove unused local variable `fdr_adr'. * ihex.c (ihex_read_section): Remove unused local variable `addr'.
Diffstat (limited to 'bfd/ihex.c')
-rw-r--r--bfd/ihex.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/bfd/ihex.c b/bfd/ihex.c
index fb2ab96c99e..6695fe51bea 100644
--- a/bfd/ihex.c
+++ b/bfd/ihex.c
@@ -553,7 +553,6 @@ ihex_read_section (bfd *abfd, asection *section, bfd_byte *contents)
{
char hdr[8];
unsigned int len;
- bfd_vma addr;
unsigned int type;
unsigned int i;
@@ -568,7 +567,6 @@ ihex_read_section (bfd *abfd, asection *section, bfd_byte *contents)
goto error_return;
len = HEX2 (hdr);
- addr = HEX4 (hdr + 2);
type = HEX2 (hdr + 6);
/* We should only see type 0 records here. */