From a1b71f21d18cef32dea4bec7e2e72ce6430305f0 Mon Sep 17 00:00:00 2001 From: ghazi Date: Wed, 19 May 1999 11:30:30 +0000 Subject: Warning fixes: * class.c (build_utf8_ref): Initialize variable `field'. * decl.c (init_decl_processing): Initialize variable `field'. * expr.c (build_known_method_ref): Mark parameters `method_type', `method_signature' and `arg_list' with ATTRIBUTE_UNUSED. (process_jvm_instruction): Likewise for parameter `length'. * jvspec.c (lang_specific_driver): Mark variables `saw_math', `saw_libc', `saw_gc', `saw_threadlib' and `saw_libgcj' with ATTRIBUTE_UNUSED. * parse.y (maybe_generate_clinit): Remove unused variable `has_non_primitive_fields'. (find_in_imports_on_demand): Initialize variables `node_to_use' and `cl'. (patch_binop): Likewise for variable `prom_type'. (patch_unaryop): Likewise for variable `prom_type'. * verify.c (verify_jvm_instructions): Likewise for variable `last'. * xref.c (xref_table): Add missing initializer. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27030 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/java/xref.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/java/xref.c') diff --git a/gcc/java/xref.c b/gcc/java/xref.c index 8835e8dfcac..8fd51804819 100644 --- a/gcc/java/xref.c +++ b/gcc/java/xref.c @@ -35,7 +35,7 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ static xref_flag_table xref_table [] = { - {NULL, NULL, NULL}, + {NULL, NULL, NULL, NULL}, }; /* Decode an xref flag value. Return 0 if the flag wasn't found. */ -- cgit v1.2.3