* gdbtypes.c (check_stub_method_group): Initialize found_stub to

zero.
This commit is contained in:
Mark Kettenis 2002-09-14 15:39:52 +00:00
parent db54fef427
commit f710f4fc2c
2 changed files with 6 additions and 1 deletions

View File

@ -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>
* arch-utils.c (legacy_pc_in_sigtramp): Move preprocessor expression

View File

@ -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))