I missed this in bc3e7924bc because the
function is inside of a #ifdef.
This commit is contained in:
卜部昌平 2019-12-12 12:37:58 +09:00
Родитель 12de92a368
Коммит f40143fe7c
1 изменённых файлов: 1 добавлений и 1 удалений

2
gc.c
Просмотреть файл

@ -11681,7 +11681,7 @@ rb_gcdebug_print_obj_condition(VALUE obj)
} }
static VALUE 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); fprintf(stderr, "WARNING: object %s(%p) is inadvertently collected\n", (char *)name, (void *)obj);
return Qnil; return Qnil;