This is the mail archive of the binutils@sources.redhat.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]

Patch for warning in stabs.c


This patch corrects a long-standing warning in stabs.c.  Okay to
commit?

2001-08-29  Ben Elliston  <bje@redhat.com>

	* stabs.c (stab_demangle_template): Initialise s4.

Index: stabs.c
===================================================================
RCS file: /cvs/src/src/binutils/stabs.c,v
retrieving revision 1.7
diff -u -c -r1.7 stabs.c
*** stabs.c	2001/01/24 02:34:07	1.7
--- stabs.c	2001/08/29 04:57:39
***************
*** 4461,4467 ****
       regular demangling routine.  */
    if (pname != NULL)
      {
!       char *s1, *s2, *s3, *s4;
        char *from, *to;
  
        s1 = savestring (orig, *pp - orig);
--- 4461,4467 ----
       regular demangling routine.  */
    if (pname != NULL)
      {
!       char *s1, *s2, *s3, *s4 = NULL;
        char *from, *to;
  
        s1 = savestring (orig, *pp - orig);


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