diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-23 07:01:57 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-23 07:01:57 +0000 |
commit | 863e2f911ac54cb68b5d93f7382cb587fe771a2f (patch) | |
tree | a8ae27d76f5960d790432e19a7532d81283a9c48 /compile.c | |
parent | 96a60e7adfc7b2eb99e3c2a60034f1ca67ffd85e (diff) | |
download | ruby-863e2f911ac54cb68b5d93f7382cb587fe771a2f.tar.gz ruby-863e2f911ac54cb68b5d93f7382cb587fe771a2f.tar.xz ruby-863e2f911ac54cb68b5d93f7382cb587fe771a2f.zip |
* 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
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |