* cp-support.c (mangled_name_to_comp): Initialize storage.
(unqualified_name_from_comp): Likewise.
This commit is contained in:
parent
4fff24118a
commit
de237128e5
2 changed files with 7 additions and 2 deletions
|
@ -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>
|
2008-05-07 Jie Zhang <jie.zhang@analog.com>
|
||||||
|
|
||||||
* remote.c (remote_insert_breakpoint): Call get_remote_state
|
* remote.c (remote_insert_breakpoint): Call get_remote_state
|
||||||
|
|
|
@ -180,7 +180,7 @@ mangled_name_to_comp (const char *mangled_name, int options,
|
||||||
char *
|
char *
|
||||||
cp_class_name_from_physname (const char *physname)
|
cp_class_name_from_physname (const char *physname)
|
||||||
{
|
{
|
||||||
void *storage;
|
void *storage = NULL;
|
||||||
char *demangled_name = NULL, *ret;
|
char *demangled_name = NULL, *ret;
|
||||||
struct demangle_component *ret_comp, *prev_comp, *cur_comp;
|
struct demangle_component *ret_comp, *prev_comp, *cur_comp;
|
||||||
int done;
|
int done;
|
||||||
|
@ -324,7 +324,7 @@ unqualified_name_from_comp (struct demangle_component *comp)
|
||||||
char *
|
char *
|
||||||
method_name_from_physname (const char *physname)
|
method_name_from_physname (const char *physname)
|
||||||
{
|
{
|
||||||
void *storage;
|
void *storage = NULL;
|
||||||
char *demangled_name = NULL, *ret;
|
char *demangled_name = NULL, *ret;
|
||||||
struct demangle_component *ret_comp;
|
struct demangle_component *ret_comp;
|
||||||
int done;
|
int done;
|
||||||
|
|
Loading…
Reference in a new issue