summaryrefslogtreecommitdiff
path: root/ext/-test-
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2020-02-01 14:02:05 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2020-02-01 14:02:59 +0900
commit7cff2f458575237bc9f673a2001f56b5924920c8 (patch)
tree78971ec9aae4afbd4700b18aad4eb0345e1ac0bb /ext/-test-
parent563f177aa41519db655359576386d438e3694c48 (diff)
fix delete unnecessary return
Was my mistake to put return here.
Diffstat (limited to 'ext/-test-')
-rw-r--r--ext/-test-/cxxanyargs/cxxanyargs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/-test-/cxxanyargs/cxxanyargs.cpp b/ext/-test-/cxxanyargs/cxxanyargs.cpp
index b0d48e0478..30790696db 100644
--- a/ext/-test-/cxxanyargs/cxxanyargs.cpp
+++ b/ext/-test-/cxxanyargs/cxxanyargs.cpp
@@ -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