From d81d65845ee611fa4438d30888b759db2acb6699 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Wed, 29 Aug 2001 10:55:43 +0000 Subject: [PATCH] 2001-08-29 Ben Elliston * stabs.c (stab_demangle_template): Initialise s4. --- binutils/ChangeLog | 4 ++++ binutils/stabs.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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); -- 2.30.2