From 00abfc00a9d66b367b024315de7a720788e16367 Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Wed, 25 Nov 1998 09:49:45 +0000 Subject: [PATCH] expr.c (CHECK_PC_IN_RANGE): Add void cast to kill warnings. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit � * expr.c (CHECK_PC_IN_RANGE): Add void cast to kill warnings. From-SVN: r23851 --- gcc/java/ChangeLog | 4 ++++ gcc/java/expr.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index c7bb08abffc..1efae0961bd 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,7 @@ +Wed Nov 25 09:47:15 1998 Per Bothner + + * expr.c (CHECK_PC_IN_RANGE): Add void cast to kill warnings. + Wed Nov 25 00:50:58 1998 Marc Espie * jcf-write.c (generate_bytecode_conditional): Fix typo. diff --git a/gcc/java/expr.c b/gcc/java/expr.c index 7ac3d19c7ec..b19b655694f 100644 --- a/gcc/java/expr.c +++ b/gcc/java/expr.c @@ -1884,7 +1884,7 @@ expand_byte_code (jcf, method) #define VAR_INDEX_1 (saw_index = 1, IMMEDIATE_u1) #define VAR_INDEX_2 (saw_index = 1, IMMEDIATE_u2) -#define CHECK_PC_IN_RANGE(PC) 1 /* Already handled by verifier. */ +#define CHECK_PC_IN_RANGE(PC) ((void)1) /* Already handled by verifier. */ instruction_bits = oballoc (length + 1); bzero (instruction_bits, length + 1);