mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-01 20:12:01 +08:00
* gdbtypes.c (check_stub_method_group): Initialize found_stub to
zero.
This commit is contained in:
@ -1793,7 +1793,7 @@ check_stub_method_group (struct type *type, int method_id)
|
||||
{
|
||||
int len = TYPE_FN_FIELDLIST_LENGTH (type, method_id);
|
||||
struct fn_field *f = TYPE_FN_FIELDLIST1 (type, method_id);
|
||||
int j, found_stub;
|
||||
int j, found_stub = 0;
|
||||
|
||||
for (j = 0; j < len; j++)
|
||||
if (TYPE_FN_FIELD_STUB (f, j))
|
||||
|
Reference in New Issue
Block a user