From 863e2f911ac54cb68b5d93f7382cb587fe771a2f Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 23 Aug 2008 07:01:57 +0000 Subject: * compile.c (iseq_build_body): suppress a warning. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- compile.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'compile.c') diff --git a/compile.c b/compile.c index 83598b460..85f85ca30 100644 --- a/compile.c +++ b/compile.c @@ -4927,7 +4927,8 @@ iseq_build_body(rb_iseq_t *iseq, LINK_ANCHOR *anchor, case TS_LINDEX: case TS_DINDEX: case TS_NUM: - argv[j] = (NUM2INT(op), op); + (void)NUM2INT(op); + argv[j] = op; break; case TS_VALUE: argv[j] = op; -- cgit