From d08d6a0d142a7c79ae75b58398c394aad51b83e4 Mon Sep 17 00:00:00 2001 From: akr Date: Thu, 5 Jan 2006 17:51:00 +0000 Subject: [PATCH] avoid "left-hand operand of comma expression has no effect" warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- eval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eval.c b/eval.c index 4237a232c4..61f38e56f9 100644 --- a/eval.c +++ b/eval.c @@ -919,7 +919,7 @@ static struct tag *prot_tag; #define PROT_YIELD INT2FIX(3) /* 7 */ #define PROT_TOP INT2FIX(4) /* 9 */ -#define EXEC_TAG() (FLUSH_REGISTER_WINDOWS, ruby_setjmp(0, prot_tag->buf)) +#define EXEC_TAG() (FLUSH_REGISTER_WINDOWS, ruby_setjmp(((void)0), prot_tag->buf)) #define JUMP_TAG(st) do { \ ruby_frame = prot_tag->frame; \