mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 12:03:41 +08:00
* cp-support.c (mangled_name_to_comp): Initialize storage.
(unqualified_name_from_comp): Likewise.
This commit is contained in:
parent
4fff24118a
commit
de237128e5
@ -1,3 +1,8 @@
|
||||
2008-05-07 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* cp-support.c (mangled_name_to_comp): Initialize storage.
|
||||
(unqualified_name_from_comp): Likewise.
|
||||
|
||||
2008-05-07 Jie Zhang <jie.zhang@analog.com>
|
||||
|
||||
* remote.c (remote_insert_breakpoint): Call get_remote_state
|
||||
|
@ -180,7 +180,7 @@ mangled_name_to_comp (const char *mangled_name, int options,
|
||||
char *
|
||||
cp_class_name_from_physname (const char *physname)
|
||||
{
|
||||
void *storage;
|
||||
void *storage = NULL;
|
||||
char *demangled_name = NULL, *ret;
|
||||
struct demangle_component *ret_comp, *prev_comp, *cur_comp;
|
||||
int done;
|
||||
@ -324,7 +324,7 @@ unqualified_name_from_comp (struct demangle_component *comp)
|
||||
char *
|
||||
method_name_from_physname (const char *physname)
|
||||
{
|
||||
void *storage;
|
||||
void *storage = NULL;
|
||||
char *demangled_name = NULL, *ret;
|
||||
struct demangle_component *ret_comp;
|
||||
int done;
|
||||
|
Loading…
Reference in New Issue
Block a user