cplus-dem.c (cplus_demangle_opname): Initialize work.
* cplus-dem.c (cplus_demangle_opname): Initialize work. Bring over from devo. From-SVN: r19787
This commit is contained in:
parent
d2f2cb195c
commit
63586755e5
|
@ -7,6 +7,10 @@ Wed May 13 14:24:38 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||||
replace with `size_t i' at each location where it is used.
|
replace with `size_t i' at each location where it is used.
|
||||||
(cplus_mangle_opname): change type of `i' from int to size_t.
|
(cplus_mangle_opname): change type of `i' from int to size_t.
|
||||||
|
|
||||||
|
Fri May 1 04:26:25 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
|
||||||
|
|
||||||
|
* cplus-dem.c (cplus_demangle_opname): Initialize work.
|
||||||
|
|
||||||
Mon Apr 27 15:53:30 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
|
Mon Apr 27 15:53:30 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
|
||||||
|
|
||||||
* cplus-dem.c (demangle_qualified): Replace missing else.
|
* cplus-dem.c (demangle_qualified): Replace missing else.
|
||||||
|
|
|
@ -430,6 +430,7 @@ cplus_demangle_opname (opname, result, options)
|
||||||
len = strlen(opname);
|
len = strlen(opname);
|
||||||
result[0] = '\0';
|
result[0] = '\0';
|
||||||
ret = 0;
|
ret = 0;
|
||||||
|
memset ((char *) work, 0, sizeof (work));
|
||||||
work->options = options;
|
work->options = options;
|
||||||
|
|
||||||
if (opname[0] == '_' && opname[1] == '_'
|
if (opname[0] == '_' && opname[1] == '_'
|
||||||
|
|
Loading…
Reference in New Issue