This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Patch for warning in stabs.c
- To: binutils at sources dot redhat dot com
- Subject: Patch for warning in stabs.c
- From: Ben Elliston <bje at redhat dot com>
- Date: Wed, 29 Aug 2001 14:58:55 +1000 (EST)
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);