summaryrefslogtreecommitdiff
path: root/ext/-test-/bug-3571
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2019-08-28 17:33:07 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2019-08-29 18:34:09 +0900
commit48e346a088395924298163941d4b4cdd8243e377 (patch)
tree6097e4a2b3fa1b8c011dcbc0de632f43f7f13a7e /ext/-test-/bug-3571
parent69683968a99a8281c28e46c1e6cb3736694a1ba6 (diff)
fix arity of bug_start
This is just a trivial mistake introduced in 0f36e8fc03a5c6433972d6bb5f177d5f6e106bac.
Diffstat (limited to 'ext/-test-/bug-3571')
-rw-r--r--ext/-test-/bug-3571/bug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/-test-/bug-3571/bug.c b/ext/-test-/bug-3571/bug.c
index a64f054740..dd3c85cd79 100644
--- a/ext/-test-/bug-3571/bug.c
+++ b/ext/-test-/bug-3571/bug.c
@@ -8,7 +8,7 @@ bug_i(RB_BLOCK_CALL_FUNC_ARGLIST(i, arg))
}
static VALUE
-bug_start(VALUE self, VALUE hash)
+bug_start(VALUE self)
{
VALUE ary = rb_ary_new3(1, Qnil);
rb_block_call(ary, rb_intern("map"), 0, 0, bug_i, self);