* cp-support.c (mangled_name_to_comp): Initialize storage.

(unqualified_name_from_comp): Likewise.
This commit is contained in:
Daniel Jacobowitz 2008-05-07 12:43:54 +00:00
parent 4fff24118a
commit de237128e5
2 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -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;