Fix compile time warning in aix5ppc-core.c
Nick Clifton
nickc@redhat.com
Mon Apr 18 12:10:00 GMT 2005
Hi Guys,
I am applying the patch below to fix a compile time warning in
bfd/aix5ppc-core.c.
Cheers
Nick
bfd/ChangeLog
2005-04-18 Nick Clifton <nickc@redhat.com>
* aix5ppc-core.c (xcoff64_core_p): Fix compile time warning
assigning a value to return_value.
Index: bfd/aix5ppc-core.c
===================================================================
RCS file: /cvs/src/src/bfd/aix5ppc-core.c,v
retrieving revision 1.7
diff -c -3 -p -r1.7 aix5ppc-core.c
*** bfd/aix5ppc-core.c 3 Mar 2005 11:40:55 -0000 1.7
--- bfd/aix5ppc-core.c 18 Apr 2005 11:51:13 -0000
*************** xcoff64_core_p (abfd)
*** 220,226 ****
}
}
! return_value = abfd->xvec; /* This is garbage for now. */
xcoff64_core_p_error:
if (bfd_get_error () != bfd_error_system_call)
--- 220,226 ----
}
}
! return_value = (bfd_target *) abfd->xvec; /* This is garbage for now. */
xcoff64_core_p_error:
if (bfd_get_error () != bfd_error_system_call)
More information about the Binutils
mailing list