mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-19 05:42:42 +08:00
Always initialize `p'.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2001-04-27 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
|
* gdbtypes.c (check_stub_method): Always initialize ``p''.
|
||||||
|
|
||||||
2001-04-27 Andrew Cagney <ac131313@redhat.com>
|
2001-04-27 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
* configure.host: Delete romp host.
|
* configure.host: Delete romp host.
|
||||||
|
@ -1410,6 +1410,8 @@ check_stub_method (struct type *type, int method_id, int signature_id)
|
|||||||
/* Make sure we got back a function string that we can use. */
|
/* Make sure we got back a function string that we can use. */
|
||||||
if (demangled_name)
|
if (demangled_name)
|
||||||
p = strchr (demangled_name, '(');
|
p = strchr (demangled_name, '(');
|
||||||
|
else
|
||||||
|
p = NULL;
|
||||||
|
|
||||||
if (demangled_name == NULL || p == NULL)
|
if (demangled_name == NULL || p == NULL)
|
||||||
error ("Internal: Cannot demangle mangled name `%s'.", mangled_name);
|
error ("Internal: Cannot demangle mangled name `%s'.", mangled_name);
|
||||||
|
Reference in New Issue
Block a user