diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1999-05-19 11:30:30 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1999-05-19 11:30:30 +0000 |
commit | ab3a6dd6e29ad7c8ecb9d803d766e822ca1b53e5 (patch) | |
tree | 4e5d6e7f6a6dd08188264e0f4697b82e42936912 /gcc/java/expr.c | |
parent | c472cdfd0ada0472b158067c2fe17c7dbcc20743 (diff) | |
download | gcc-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/expr.c')
-rw-r--r-- | gcc/java/expr.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/java/expr.c b/gcc/java/expr.c index d975c42..79d0b7b 100644 --- a/gcc/java/expr.c +++ b/gcc/java/expr.c @@ -1431,7 +1431,8 @@ tree dtable_ident = NULL_TREE; tree build_known_method_ref (method, method_type, self_type, method_signature, arg_list) - tree method, method_type, self_type, method_signature, arg_list; + tree method, method_type ATTRIBUTE_UNUSED, self_type, + method_signature ATTRIBUTE_UNUSED, arg_list ATTRIBUTE_UNUSED; { tree func; if (is_compiled_class (self_type)) @@ -2230,7 +2231,7 @@ int process_jvm_instruction (PC, byte_ops, length) int PC; unsigned char* byte_ops; - long length; + long length ATTRIBUTE_UNUSED; { const char *opname; /* Temporary ??? */ int oldpc = PC; /* PC at instruction start. */ |