From 9f26242411fe56c661644d63a9be11530889ebe3 Mon Sep 17 00:00:00 2001 From: git Date: Wed, 3 Jul 2019 04:26:53 +0900 Subject: [PATCH] * expand tabs. --- gc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gc.c b/gc.c index 2f6983e67c..7c652aaa1d 100644 --- a/gc.c +++ b/gc.c @@ -2965,14 +2965,14 @@ should_not_capture_callback(VALUE child, void *dp) { struct should_not_capture_data *data = dp; if (child == data->obj) - data->found = true; + data->found = true; if (data->found) - return; + return; // Maintain a set of objects already searched, so that we don't follow a cycle if (rb_hash_lookup2(data->set, child, Qfalse)) - return; + return; rb_hash_aset(data->set, child, Qtrue); rb_objspace_reachable_objects_from(child, should_not_capture_callback, data); @@ -2986,7 +2986,7 @@ should_not_capture(VALUE block, VALUE obj) rb_objspace_reachable_objects_from(block, should_not_capture_callback, &data); rb_hash_clear(data.set); if (data.found) - rb_warn("object is reachable from finalizer - it may never be run"); + rb_warn("object is reachable from finalizer - it may never be run"); } /* @@ -3019,7 +3019,7 @@ define_final(int argc, VALUE *argv, VALUE os) } if (RTEST(ruby_verbose)) { - should_not_capture(block, obj); + should_not_capture(block, obj); } return define_final0(obj, block);