1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

fix delete unnecessary return

Was my mistake to put return here.
This commit is contained in:
卜部昌平 2020-02-01 14:02:05 +09:00
parent 563f177aa4
commit 7cff2f4585

View file

@ -156,7 +156,7 @@ namespace test_rb_rescue {
{
#ifdef HAVE_NULLPTR
rb_rescue(RUBY_METHOD_FUNC(begin), self, nullptr, self);
return rb_rescue(begin, self, nullptr, self);
rb_rescue(begin, self, nullptr, self);
#endif
rb_rescue(RUBY_METHOD_FUNC(begin), self, RUBY_METHOD_FUNC(rescue), self); // old