expr.c (CHECK_PC_IN_RANGE): Add void cast to kill warnings.

�
	* expr.c (CHECK_PC_IN_RANGE):  Add void cast to kill warnings.

From-SVN: r23851
This commit is contained in:
Per Bothner 1998-11-25 09:49:45 +00:00 committed by Per Bothner
parent b12da25e3e
commit 00abfc00a9
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Wed Nov 25 09:47:15 1998 Per Bothner <bothner@cygnus.com>
* expr.c (CHECK_PC_IN_RANGE): Add void cast to kill warnings.
Wed Nov 25 00:50:58 1998 Marc Espie <espie@quatramaran.ens.fr>
* jcf-write.c (generate_bytecode_conditional): Fix typo.

View File

@ -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);