From 2d3ecc4d284b5c16a98f68fcf3265d3451ffe61c Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 1 Nov 2022 09:35:09 +0900 Subject: [PATCH] Adjust indents [ci skip] --- variable.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/variable.c b/variable.c index 745ace528f..fd0c30b9b5 100644 --- a/variable.c +++ b/variable.c @@ -1581,17 +1581,17 @@ iterate_over_shapes_with_callback(rb_shape_t *shape, rb_ivar_foreach_callback_fu case SHAPE_IVAR: iterate_over_shapes_with_callback(rb_shape_get_shape_by_id(shape->parent_id), callback, itr_data); VALUE * iv_list; - switch(BUILTIN_TYPE(itr_data->obj)) { - case T_OBJECT: - iv_list = ROBJECT_IVPTR(itr_data->obj); - break; - case T_CLASS: - case T_MODULE: - iv_list = RCLASS_IVPTR(itr_data->obj); - break; - default: - iv_list = itr_data->ivtbl->ivptr; - break; + switch (BUILTIN_TYPE(itr_data->obj)) { + case T_OBJECT: + iv_list = ROBJECT_IVPTR(itr_data->obj); + break; + case T_CLASS: + case T_MODULE: + iv_list = RCLASS_IVPTR(itr_data->obj); + break; + default: + iv_list = itr_data->ivtbl->ivptr; + break; } VALUE val = iv_list[shape->next_iv_index - 1]; if (val != Qundef) {