diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-06-02 14:34:48 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-06-02 14:34:48 +0900 |
commit | dfc8060756b25a33e078883ef095af6600c0a54b (patch) | |
tree | 30efe6704308e187f27a2d7bc3a1b257c74faee9 | |
parent | 9108db961dc24615d3fd1093d95521e53f41e61c (diff) | |
download | ruby-dfc8060756b25a33e078883ef095af6600c0a54b.tar.gz |
Adjust indent and nesting [ci skip]
-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 |