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 | 0e2e2cf4a118eb32d2402d923396180f3b505639 (patch) | |
tree | 6476a1f943cd1ca58c0886dd1a864c74ff866617 /spec/rubyspec | |
parent | 9ab667b856a01aafd525ae17f74c84fe759ca541 (diff) | |
download | ruby-0e2e2cf4a118eb32d2402d923396180f3b505639.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
Diffstat (limited to 'spec/rubyspec')
-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 |