aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/expr.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2009-11-28 17:21:52 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2009-11-28 17:21:52 +0100
commitc750c208706d56fb9b3b8e2badf44ec4b7f37058 (patch)
tree596ff35fb23d527258a66b88de0cd538a21c783c /gcc/java/expr.c
parent0f900dfafa90a1114d3768f3fe5fe4d07f250a9a (diff)
downloadgcc-c750c208706d56fb9b3b8e2badf44ec4b7f37058.zip
gcc-c750c208706d56fb9b3b8e2badf44ec4b7f37058.tar.gz
gcc-c750c208706d56fb9b3b8e2badf44ec4b7f37058.tar.bz2
jvspec.c (lang_specific_driver): Remove unused saw_verbose_flag variable.
* jvspec.c (lang_specific_driver): Remove unused saw_verbose_flag variable. * jcf-dump.c (main): Remove unused general_purpose_bits variable. * builtins.c (initialize_builtins): Remove unused float_ftype_float variable. * expr.c (java_stack_pop): Remove unused val variable. (build_jni_stub): Remove unused res_type variable. * verify-impl.c (check_field_constant): Remove unused len variable. From-SVN: r154727
Diffstat (limited to 'gcc/java/expr.c')
-rw-r--r--gcc/java/expr.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/java/expr.c b/gcc/java/expr.c
index 72ca773..3c0e2ca 100644
--- a/gcc/java/expr.c
+++ b/gcc/java/expr.c
@@ -632,7 +632,7 @@ java_stack_pop (int count)
{
while (count > 0)
{
- tree type, val;
+ tree type;
gcc_assert (stack_pointer != 0);
@@ -644,7 +644,7 @@ java_stack_pop (int count)
type = stack_type_map[stack_pointer - 2];
}
- val = pop_value (type);
+ pop_value (type);
count--;
}
}
@@ -2652,7 +2652,7 @@ build_jni_stub (tree method)
tree jniarg0, jniarg1, jniarg2, jniarg3;
tree jni_func_type, tem;
tree env_var, res_var = NULL_TREE, block;
- tree method_args, res_type;
+ tree method_args;
tree meth_var;
tree bind;
@@ -2805,7 +2805,6 @@ build_jni_stub (tree method)
TREE_SIDE_EFFECTS (body) = 1;
/* Finally, do the return. */
- res_type = void_type_node;
if (res_var != NULL_TREE)
{
tree drt;