This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
warning patch for obj-coff.c
- To: binutils at sourceware dot cygnus dot com
- Subject: warning patch for obj-coff.c
- From: "Mark E." <snowball3 at bigfoot dot com>
- Date: Thu, 2 Mar 2000 00:36:17 -0500
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;