This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Fix another shadowed variable
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sourceware dot org
- Date: Sat, 12 Dec 2009 10:07:26 +0000
- Subject: Fix another shadowed variable
Hi Guys,
I have just found another shadowed variable warning which I missed
with my initial patch. So I am checking in the patch below to fix
it.
Cheers
Nick
bfd/ChangeLog
2009-12-12 Nick Clifton <nickc@redhat.com>
* coff-arm.c (coff_arm_rtype_to_howto): Fix shadowed variable
warning.
Index: bfd/coff-arm.c
===================================================================
RCS file: /cvs/src/src/bfd/coff-arm.c,v
retrieving revision 1.77
diff -c -3 -p -r1.77 coff-arm.c
*** bfd/coff-arm.c 5 Sep 2009 07:56:21 -0000 1.77
--- bfd/coff-arm.c 12 Dec 2009 10:06:05 -0000
*************** coff_arm_rtype_to_howto (bfd *abfd ATTRI
*** 549,555 ****
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
--- 549,554 ----