summaryrefslogtreecommitdiff
path: root/gcc/java/verify.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-07-30 18:31:34 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-07-30 18:31:34 +0000
commit475a53d2f099d64ed50a4bcf451a2a71d7514151 (patch)
treec33f7ed979269396307f864e8147d16d6e3382c4 /gcc/java/verify.c
parenta8d86c7ad0a6b92b96025ac6dc6e1f6f1a8bdd83 (diff)
downloadgcc-475a53d2f099d64ed50a4bcf451a2a71d7514151.tar.gz
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'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28344 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/verify.c')
-rw-r--r--gcc/java/verify.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/java/verify.c b/gcc/java/verify.c
index e367334c462..9e11d761c90 100644
--- a/gcc/java/verify.c
+++ b/gcc/java/verify.c
@@ -1213,7 +1213,6 @@ verify_jvm_instructions (jcf, byte_ops, length)
else
{
tree ret_map = LABEL_RETURN_TYPE_STATE (current_subr);
- tree caller = LABEL_SUBR_CONTEXT (current_subr);
int size = DECL_MAX_LOCALS(current_function_decl)+stack_pointer;
index = wide ? IMMEDIATE_u2 : IMMEDIATE_u1;
wide = 0;