reformat else part; ref #2447

parent 1300770c
......@@ -905,7 +905,8 @@ mrb_ary_clear(mrb_state *mrb, mrb_value self)
if (ARY_SHARED_P(a)) {
mrb_ary_decref(mrb, a->aux.shared);
ARY_UNSET_SHARED_FLAG(a);
} else {
}
else {
mrb_free(mrb, a->ptr);
}
a->len = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment