1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
nobu 2008-08-23 07:01:57 +00:00
parent 400796e87b
commit 74cd315a50

View file

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