Skip to content

Commit 6ac05dd

Browse files
committed
Remove unused gc_raw_obj_info_basic
1 parent 05f840d commit 6ac05dd

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

gc.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4181,17 +4181,6 @@ obj_info(VALUE obj)
41814181
char *const buff = obj_info_buffers[index];
41824182
return rb_raw_obj_info(buff, OBJ_INFO_BUFFERS_SIZE, obj);
41834183
}
4184-
4185-
const char *
4186-
gc_raw_obj_info_basic(char *const buff, const size_t buff_size, VALUE obj)
4187-
{
4188-
asan_unpoisoning_object(obj) {
4189-
size_t pos = rb_raw_obj_info_common(buff, buff_size, obj);
4190-
if (pos >= buff_size) {} // truncated
4191-
}
4192-
4193-
return buff;
4194-
}
41954184
#else
41964185
static const char *
41974186
obj_info(VALUE obj)

0 commit comments

Comments
 (0)