1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Adjust indent and nesting [ci skip]

This commit is contained in:
Nobuyoshi Nakada 2022-06-02 14:34:48 +09:00
parent 9108db961d
commit dfc8060756
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

4
gc.c
View file

@ -13604,13 +13604,11 @@ rb_raw_obj_info(char *buff, const int buff_size, VALUE obj)
else if (RBASIC(obj)->klass == 0) {
APPENDF((BUFF_ARGS, "(temporary internal)"));
}
else {
if (RTEST(RBASIC(obj)->klass)) {
else if (RTEST(RBASIC(obj)->klass)) {
VALUE class_path = rb_class_path_cached(RBASIC(obj)->klass);
if (!NIL_P(class_path)) {
APPENDF((BUFF_ARGS, "(%s)", RSTRING_PTR(class_path)));
}
}
}
#if GC_DEBUG