summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-23 07:01:57 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-23 07:01:57 +0000
commit74cd315a505485ddddf21d7b8ca58b627e069825 (patch)
treea8ae27d76f5960d790432e19a7532d81283a9c48 /compile.c
parent400796e87b7df6f4605c4d342741511da3f855c3 (diff)
* 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
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c3
1 files changed, 2 insertions, 1 deletions
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;