OSDN Git Service

* coff-arm.c (coff_arm_rtype_to_howto): Fix shadowed variable
authornickc <nickc>
Sat, 12 Dec 2009 19:07:52 +0000 (19:07 +0000)
committernickc <nickc>
Sat, 12 Dec 2009 19:07:52 +0000 (19:07 +0000)
        warning.

bfd/ChangeLog
bfd/coff-arm.c

index 0d2cfdd..5b339a9 100644 (file)
@@ -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) 
index 422c53e..2e0110a 100644 (file)
@@ -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