* gdbtypes.c (check_stub_method_group): Initialize found_stub to
zero.
This commit is contained in:
parent
db54fef427
commit
f710f4fc2c
|
@ -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
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue