mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-17 21:03:55 +08:00
Always initialize `p'.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user