diff options
author | Mark Kettenis <kettenis@gnu.org> | 2002-09-14 15:39:52 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2002-09-14 15:39:52 +0000 |
commit | f710f4fc2c1ddb800d5c7ca668de89a60bda021c (patch) | |
tree | c40705f673da81feb4824f48f3472f494a64909e /gdb | |
parent | db54fef4278fb8c9e69125e4e98314d23220517f (diff) | |
download | gdb-f710f4fc2c1ddb800d5c7ca668de89a60bda021c.zip gdb-f710f4fc2c1ddb800d5c7ca668de89a60bda021c.tar.gz gdb-f710f4fc2c1ddb800d5c7ca668de89a60bda021c.tar.bz2 |
* gdbtypes.c (check_stub_method_group): Initialize found_stub to
zero.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbtypes.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0252b33..ebddf38 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c index a219ab5..4022394 100644 --- a/gdb/gdbtypes.c +++ b/gdb/gdbtypes.c @@ -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)) |