mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 23:39:35 +08:00
* gdbtypes.c (check_stub_method_group): Initialize found_stub to
zero.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2002-09-14 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
|
* gdbtypes.c (check_stub_method_group): Initialize found_stub to
|
||||||
|
zero.
|
||||||
|
|
||||||
2002-09-14 Corinna Vinschen <vinschen@redhat.com>
|
2002-09-14 Corinna Vinschen <vinschen@redhat.com>
|
||||||
|
|
||||||
* arch-utils.c (legacy_pc_in_sigtramp): Move preprocessor expression
|
* arch-utils.c (legacy_pc_in_sigtramp): Move preprocessor expression
|
||||||
|
@ -1793,7 +1793,7 @@ check_stub_method_group (struct type *type, int method_id)
|
|||||||
{
|
{
|
||||||
int len = TYPE_FN_FIELDLIST_LENGTH (type, method_id);
|
int len = TYPE_FN_FIELDLIST_LENGTH (type, method_id);
|
||||||
struct fn_field *f = TYPE_FN_FIELDLIST1 (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++)
|
for (j = 0; j < len; j++)
|
||||||
if (TYPE_FN_FIELD_STUB (f, j))
|
if (TYPE_FN_FIELD_STUB (f, j))
|
||||||
|
Reference in New Issue
Block a user