Fix another shadowed variable

Nick Clifton nickc@redhat.com
Sat Dec 12 10:07:00 GMT 2009


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 ----



More information about the Binutils mailing list