aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/xref.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1999-05-19 11:30:30 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1999-05-19 11:30:30 +0000
commitab3a6dd6e29ad7c8ecb9d803d766e822ca1b53e5 (patch)
tree4e5d6e7f6a6dd08188264e0f4697b82e42936912 /gcc/java/xref.c
parentc472cdfd0ada0472b158067c2fe17c7dbcc20743 (diff)
downloadgcc-ab3a6dd6e29ad7c8ecb9d803d766e822ca1b53e5.zip
gcc-ab3a6dd6e29ad7c8ecb9d803d766e822ca1b53e5.tar.gz
gcc-ab3a6dd6e29ad7c8ecb9d803d766e822ca1b53e5.tar.bz2
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. From-SVN: r27030
Diffstat (limited to 'gcc/java/xref.c')
-rw-r--r--gcc/java/xref.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/xref.c b/gcc/java/xref.c
index 8835e8d..8fd5180 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. */