diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1999-07-30 18:31:34 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1999-07-30 18:31:34 +0000 |
commit | cd531a2eddbe17c94a99af2b62c05fe417b97a94 (patch) | |
tree | c33f7ed979269396307f864e8147d16d6e3382c4 /gcc/java/jcf-write.c | |
parent | 93b69d0f0d4b3a3a4b6481c50720aa351f77e5e5 (diff) | |
download | gcc-cd531a2eddbe17c94a99af2b62c05fe417b97a94.zip gcc-cd531a2eddbe17c94a99af2b62c05fe417b97a94.tar.gz gcc-cd531a2eddbe17c94a99af2b62c05fe417b97a94.tar.bz2 |
Warning fixes:
* expr.c (build_java_soft_divmod): Provide a default case in switch.
(java_lang_expand_expr): Mark parameters `target', `tmode' and
`modifier' with ATTRIBUTE_UNUSED.
* gjavah.c (process_file): Add braces around ambiguous `else'.
* jcf-dump.c (print_access_flags, localvar_free): Change return
type to void.
* parse.y (java_complete_expand_method): Initialize variable
`exception_copy'.
(resolve_qualified_expression_name): Likewise for `field_decl'.
(patch_method_invocation): Likewise for `class_to_search'.
(qualify_ambiguous_name): Likewise for `name' and `ptr_type'.
(patch_assignment): Likewise for `lhs_type'.
* verify.c (verify_jvm_instructions): Remove unused variable
`caller'.
From-SVN: r28344
Diffstat (limited to 'gcc/java/jcf-write.c')
-rw-r--r-- | gcc/java/jcf-write.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/java/jcf-write.c b/gcc/java/jcf-write.c index 71560e6..0cbbfac 100644 --- a/gcc/java/jcf-write.c +++ b/gcc/java/jcf-write.c @@ -286,7 +286,7 @@ static void define_jcf_label PROTO ((struct jcf_block *, static struct jcf_block * get_jcf_label_here PROTO ((struct jcf_partial *)); static void put_linenumber PROTO ((int, struct jcf_partial *)); static void localvar_alloc PROTO ((tree, struct jcf_partial *)); -static int localvar_free PROTO ((tree, struct jcf_partial *)); +static void localvar_free PROTO ((tree, struct jcf_partial *)); static int get_access_flags PROTO ((tree)); static void write_chunks PROTO ((FILE *, struct chunk *)); static int adjust_typed_op PROTO ((tree, int)); @@ -567,7 +567,7 @@ localvar_alloc (decl, state) } } -static int +static void localvar_free (decl, state) tree decl; struct jcf_partial *state; |