diff options
author | Ben Elliston <bje@au.ibm.com> | 2001-08-29 10:55:43 +0000 |
---|---|---|
committer | Ben Elliston <bje@au.ibm.com> | 2001-08-29 10:55:43 +0000 |
commit | d81d65845ee611fa4438d30888b759db2acb6699 (patch) | |
tree | 3a73fdb1bf95058f6060f38e2fe759875dfc7f2e /binutils | |
parent | 102ab33260109a2fc00e42e39b8bca7d675cc0e9 (diff) | |
download | gdb-d81d65845ee611fa4438d30888b759db2acb6699.zip gdb-d81d65845ee611fa4438d30888b759db2acb6699.tar.gz 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/ChangeLog | 4 | ||||
-rw-r--r-- | binutils/stabs.c | 2 |
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); |