From: Ben Elliston Date: Wed, 29 Aug 2001 10:55:43 +0000 (+0000) Subject: 2001-08-29 Ben Elliston X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d81d65845ee611fa4438d30888b759db2acb6699;p=binutils-gdb.git 2001-08-29 Ben Elliston * stabs.c (stab_demangle_template): Initialise s4. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 2a7989a8513..838a4bf29f7 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2001-08-29 Ben Elliston + + * stabs.c (stab_demangle_template): Initialise s4. + 2001-08-27 Alan Modra * readelf.c (dump_relocations): Recognise EM_PPC64. diff --git a/binutils/stabs.c b/binutils/stabs.c index daea3014295..804514093c6 100644 --- a/binutils/stabs.c +++ b/binutils/stabs.c @@ -4461,7 +4461,7 @@ stab_demangle_template (minfo, pp, pname) regular demangling routine. */ if (pname != NULL) { - char *s1, *s2, *s3, *s4; + char *s1, *s2, *s3, *s4 = NULL; char *from, *to; s1 = savestring (orig, *pp - orig);