aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2009-12-12 10:07:53 +0000
committerNick Clifton <nickc@redhat.com>2009-12-12 10:07:53 +0000
commit9e9b49abd880402e0d2e5e2148e797990dc8da37 (patch)
tree50ddcb9d96e1013a117037b8a0c3e3e70d47fc56
parentb0eec2ccdafc32f2d0d82d8582fe28d91ea5a679 (diff)
downloadgdb-9e9b49abd880402e0d2e5e2148e797990dc8da37.zip
gdb-9e9b49abd880402e0d2e5e2148e797990dc8da37.tar.gz
gdb-9e9b49abd880402e0d2e5e2148e797990dc8da37.tar.bz2
* coff-arm.c (coff_arm_rtype_to_howto): Fix shadowed variable
warning.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/coff-arm.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 0d2cfdd..5b339a9 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2009-12-12 Nick Clifton <nickc@redhat.com>
+
+ * coff-arm.c (coff_arm_rtype_to_howto): Fix shadowed variable
+ warning.
+
2009-12-11 Tristan Gingold <gingold@adacore.com>
* som.c (bfd_som_set_subsection_attributes)
diff --git a/bfd/coff-arm.c b/bfd/coff-arm.c
index 422c53e..2e0110a 100644
--- a/bfd/coff-arm.c
+++ b/bfd/coff-arm.c
@@ -549,7 +549,6 @@ coff_arm_rtype_to_howto (bfd *abfd ATTRIBUTE_UNUSED,
osect_vma = h->root.u.def.section->output_section->vma;
else
{
- asection *sec;
int i;
/* Sigh, the only way to get the section to offset against