summaryrefslogtreecommitdiff
path: root/ext/objspace/objspace_dump.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-07-22 21:57:50 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-07-22 21:59:27 +0900
commit92c7417d7322f550c076459fa70a0679f8b61e5a (patch)
tree6ff7593707461173cd9ab01576a20a1e3cca71d0 /ext/objspace/objspace_dump.c
parentc6734edc345c04d887e9183672f32f1d953c41d2 (diff)
Adjust indents [ci skip]
Diffstat (limited to 'ext/objspace/objspace_dump.c')
-rw-r--r--ext/objspace/objspace_dump.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/objspace/objspace_dump.c b/ext/objspace/objspace_dump.c
index 91d9eec4f3..2917d49331 100644
--- a/ext/objspace/objspace_dump.c
+++ b/ext/objspace/objspace_dump.c
@@ -76,7 +76,8 @@ buffer_ensure_capa(struct dump_config *dc, unsigned long requested)
}
}
-static void buffer_append(struct dump_config *dc, const char *cstr, unsigned long len)
+static void
+buffer_append(struct dump_config *dc, const char *cstr, unsigned long len)
{
if (LIKELY(len > 0)) {
buffer_ensure_capa(dc, len);
@@ -525,8 +526,8 @@ dump_object(VALUE obj, struct dump_config *dc)
break;
case T_ZOMBIE:
- dump_append(dc, "}\n");
- return;
+ dump_append(dc, "}\n");
+ return;
default:
break;