summaryrefslogtreecommitdiff
path: root/bfd/ihex.c
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
commit4d2dc63417afcb4b177445b5295258897ffeef6c (patch)
treec48fd9ce11706aa8a445d8ecc4fb057bd00e46ba /bfd/ihex.c
parent2fe46e5694a6183f81db6a0c94e40dceff8e0c87 (diff)
downloadbinutils-redhat-4d2dc63417afcb4b177445b5295258897ffeef6c.tar.gz
* 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 fb2ab96c99..6695fe51be 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. */