This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

warning patch for obj-coff.c


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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]