From c65ecaf37b02a936e0d8c4074da3b5da8017e464 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 23 Mar 2001 22:48:44 +0000 Subject: Fix -Werror -Wuninitialized warnings. --- gdb/jv-lang.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gdb/jv-lang.c') 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; -- cgit v1.1