diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-14 03:53:59 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-14 03:53:59 +0000 |
commit | fd3a2473dc167adbcbb65c28b8f954e704fdc7d9 (patch) | |
tree | 6476a1f943cd1ca58c0886dd1a864c74ff866617 | |
parent | 24dee730762465da14895e4a8e0e7c7d9cbb853e (diff) | |
download | ruby-fd3a2473dc167adbcbb65c28b8f954e704fdc7d9.tar.gz |
suppress warning
* spec/rubyspec/optional/capi/ext/fixnum_spec.c: suppress
unused-but-set-variable warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | spec/rubyspec/optional/capi/ext/fixnum_spec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/rubyspec/optional/capi/ext/fixnum_spec.c b/spec/rubyspec/optional/capi/ext/fixnum_spec.c index 4c0572186d..49dd039c52 100644 --- a/spec/rubyspec/optional/capi/ext/fixnum_spec.c +++ b/spec/rubyspec/optional/capi/ext/fixnum_spec.c @@ -29,6 +29,8 @@ void Init_fixnum_spec(void) { #ifdef HAVE_RB_FIX2INT rb_define_method(cls, "rb_fix2int", fixnum_spec_rb_fix2int, 1); #endif + + (void)cls; } #ifdef __cplusplus |