diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-03-23 22:48:44 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-03-23 22:48:44 +0000 |
commit | c65ecaf37b02a936e0d8c4074da3b5da8017e464 (patch) | |
tree | 53db9a726b3fb210cd49399a2821556bec8359af /gdb/jv-lang.c | |
parent | c3a27914b8158876b94fda0beaa26da202103b62 (diff) | |
download | gdb-c65ecaf37b02a936e0d8c4074da3b5da8017e464.zip gdb-c65ecaf37b02a936e0d8c4074da3b5da8017e464.tar.gz gdb-c65ecaf37b02a936e0d8c4074da3b5da8017e464.tar.bz2 |
Fix -Werror -Wuninitialized warnings.
Diffstat (limited to 'gdb/jv-lang.c')
-rw-r--r-- | gdb/jv-lang.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/jv-lang.c b/gdb/jv-lang.c index 0fb79b4..abd0470 100644 --- a/gdb/jv-lang.c +++ b/gdb/jv-lang.c @@ -346,7 +346,9 @@ java_link_class_type (struct type *type, value_ptr clas) int type_is_object = 0; struct fn_field *fn_fields; struct fn_fieldlist *fn_fieldlists; - value_ptr fields, field, method, methods; + value_ptr fields, methods; + struct value *method = NULL; + struct value *field = NULL; int i, j; struct objfile *objfile = get_dynamics_objfile (); struct type *tsuper; |