This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Fix compile time warning in aix5ppc-core.c
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sources dot redhat dot com
- Date: Mon, 18 Apr 2005 13:08:53 +0100
- Subject: Fix compile time warning in aix5ppc-core.c
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)