mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 18:14:13 +08:00
Always initialize `p'.
This commit is contained in:
parent
5fba655aed
commit
502dcf4e39
@ -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>
|
||||
|
||||
* 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. */
|
||||
if (demangled_name)
|
||||
p = strchr (demangled_name, '(');
|
||||
else
|
||||
p = NULL;
|
||||
|
||||
if (demangled_name == NULL || p == NULL)
|
||||
error ("Internal: Cannot demangle mangled name `%s'.", mangled_name);
|
||||
|
Loading…
Reference in New Issue
Block a user