warning patch for obj-coff.c
Mark E.
snowball3@bigfoot.com
Wed Mar 1 21:36:00 GMT 2000
This silences a 'possible uninitialized variable' warning that appears when
building the BFD version of GAS for DJGPP with gcc 2.95.2.
2000-03-02 Mark Elbrecht <snowball3@bigfoot.com>
* config/obj-coff.c: Initialize to NULL to silence GCC warning.
*** config/obj-coff.c.orig Thu Feb 24 09:42:22 2000
--- config/obj-coff.c Thu Mar 2 00:20:28 2000
*************** static void
*** 652,658 ****
obj_coff_endef (ignore)
int ignore ATTRIBUTE_UNUSED;
{
! symbolS *symbolP;
/* DIM BUG FIX sac@cygnus.com */
dim_index = 0;
--- 652,658 ----
obj_coff_endef (ignore)
int ignore ATTRIBUTE_UNUSED;
{
! symbolS *symbolP = NULL;
/* DIM BUG FIX sac@cygnus.com */
dim_index = 0;
More information about the Binutils
mailing list