Skip to content

Commit

Permalink
fix delete unnecessary return
Browse files Browse the repository at this point in the history
Was my mistake to put return here.
  • Loading branch information
shyouhei committed Feb 1, 2020
1 parent 563f177 commit 7cff2f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/-test-/cxxanyargs/cxxanyargs.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 7cff2f4

Please sign in to comment.