diff options
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 d6e51a1..d975c42 100644 --- a/gcc/java/expr.c +++ b/gcc/java/expr.c @@ -1565,7 +1565,7 @@ static void expand_invoke (opcode, method_ref_index, nargs) int opcode; int method_ref_index; - int nargs; + int nargs ATTRIBUTE_UNUSED; { tree method_signature = COMPONENT_REF_SIGNATURE(¤t_jcf->cpool, method_ref_index); tree method_name = COMPONENT_REF_NAME (¤t_jcf->cpool, method_ref_index); @@ -2118,7 +2118,8 @@ expand_byte_code (jcf, method) NOTE_LABEL (default_offset+oldpc); \ if (npairs >= 0) \ while (--npairs >= 0) { \ - jint match = IMMEDIATE_s4; jint offset = IMMEDIATE_s4; \ + jint match ATTRIBUTE_UNUSED = IMMEDIATE_s4; \ + jint offset = IMMEDIATE_s4; \ NOTE_LABEL (offset+oldpc); } \ } |