summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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