summaryrefslogtreecommitdiffhomepage
path: root/src/class.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2017-04-03 16:56:27 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2017-04-03 16:56:27 +0900
commit77331d127b6ab202e703bd7297ab6aabf4a314e9 (patch)
treee86c5ee7c9f4a5a867d63745607f525116b84d19 /src/class.c
parentfbf4089d2f9480b5f5c9b8cdc312ad5e8417f62e (diff)
downloadmruby-77331d127b6ab202e703bd7297ab6aabf4a314e9.tar.gz
mruby-77331d127b6ab202e703bd7297ab6aabf4a314e9.zip
Unify `else` clause style
Diffstat (limited to 'src/class.c')
-rw-r--r--src/class.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/class.c b/src/class.c
index 2f316410f..7cb544b43 100644
--- a/src/class.c
+++ b/src/class.c
@@ -554,7 +554,8 @@ mrb_get_args(mrb_state *mrb, const char *format, ...)
argc = a->len;
array_argv = TRUE;
- } else {
+ }
+ else {
array_argv = FALSE;
}
@@ -951,7 +952,8 @@ include_class_new(mrb_state *mrb, struct RClass *m, struct RClass *super)
ic->super = super;
if (m->tt == MRB_TT_ICLASS) {
ic->c = m->c;
- } else {
+ }
+ else {
ic->c = m;
}
return ic;