diff options
-rw-r--r-- | gc.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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 |