mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fix arity mismatch
I missed this in bc3e7924bc
because the
function is inside of a #ifdef.
This commit is contained in:
parent
12de92a368
commit
f40143fe7c
1 changed files with 1 additions and 1 deletions
2
gc.c
2
gc.c
|
@ -11681,7 +11681,7 @@ rb_gcdebug_print_obj_condition(VALUE obj)
|
|||
}
|
||||
|
||||
static VALUE
|
||||
gcdebug_sentinel(VALUE obj, VALUE name)
|
||||
gcdebug_sentinel(RB_BLOCK_CALL_FUNC_ARGLIST(obj, name))
|
||||
{
|
||||
fprintf(stderr, "WARNING: object %s(%p) is inadvertently collected\n", (char *)name, (void *)obj);
|
||||
return Qnil;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue