diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2019-09-06 16:33:30 +0900 |
---|---|---|
committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2019-09-06 16:33:30 +0900 |
commit | 7516c48b2744b563a6cb420c23c1ff8bdea72da6 (patch) | |
tree | fdc04f4f2d5c6281c09696b389e94a29a4ac161a /ext | |
parent | 04f570e266ba7f9d155ceea943043532a7e2f859 (diff) | |
download | ruby-7516c48b2744b563a6cb420c23c1ff8bdea72da6.tar.gz |
fix Visual Studio compilation error
See also https://github.com/ruby/ruby/runs/213964487
Diffstat (limited to 'ext')
-rw-r--r-- | ext/-test-/cxxanyargs/cxxanyargs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/-test-/cxxanyargs/cxxanyargs.cpp b/ext/-test-/cxxanyargs/cxxanyargs.cpp index 46f4069f7f..9912a6694c 100644 --- a/ext/-test-/cxxanyargs/cxxanyargs.cpp +++ b/ext/-test-/cxxanyargs/cxxanyargs.cpp @@ -98,7 +98,7 @@ namespace test_rb_block_call { test(VALUE self) { const ID mid = rb_intern("each"); - const VALUE argv[] = {}; + const VALUE argv[] = { Qundef }; rb_block_call(self, mid, 0, argv, RUBY_METHOD_FUNC(block), self); // old return rb_block_call(self, mid, 0, argv, block, self); // new } |