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 | 6f4f2a25f9c02f3a3059570b3eb4b9d78c8c7918 (patch) | |
tree | a802df9a74df5953b5227b193bc26f479edb8c15 /gdb/jv-lang.c | |
parent | 9c507b1631dad53473ebd06e79bc0371fea537ac (diff) | |
download | gdb-6f4f2a25f9c02f3a3059570b3eb4b9d78c8c7918.tar.gz |
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 0fb79b48427..abd0470b7d3 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; |