aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2001-08-29 10:55:43 +0000
committerBen Elliston <bje@au.ibm.com>2001-08-29 10:55:43 +0000
commitd81d65845ee611fa4438d30888b759db2acb6699 (patch)
tree3a73fdb1bf95058f6060f38e2fe759875dfc7f2e /binutils
parent102ab33260109a2fc00e42e39b8bca7d675cc0e9 (diff)
downloadfsf-binutils-gdb-d81d65845ee611fa4438d30888b759db2acb6699.zip
fsf-binutils-gdb-d81d65845ee611fa4438d30888b759db2acb6699.tar.gz
fsf-binutils-gdb-d81d65845ee611fa4438d30888b759db2acb6699.tar.bz2
2001-08-29 Ben Elliston <bje@redhat.com>
* stabs.c (stab_demangle_template): Initialise s4.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/stabs.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 2a7989a..838a4bf 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2001-08-29 Ben Elliston <bje@redhat.com>
+
+ * stabs.c (stab_demangle_template): Initialise s4.
+
2001-08-27 Alan Modra <amodra@bigpond.net.au>
* readelf.c (dump_relocations): Recognise EM_PPC64.
diff --git a/binutils/stabs.c b/binutils/stabs.c
index daea301..8045140 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);