aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/decl.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/decl.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/decl.c')
-rw-r--r--gcc/java/decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/decl.c b/gcc/java/decl.c
index 625ba8a..de03e5fd 100644
--- a/gcc/java/decl.c
+++ b/gcc/java/decl.c
@@ -432,7 +432,7 @@ void
init_decl_processing ()
{
register tree endlink;
- tree field;
+ tree field = NULL_TREE;
tree t;
current_function_decl = NULL;