From 74cd315a505485ddddf21d7b8ca58b627e069825 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 23 Aug 2008 07:01:57 +0000 Subject: [PATCH] * compile.c (iseq_build_body): suppress a warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- compile.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compile.c b/compile.c index 83598b4603..85f85ca300 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;