string.c: small refactoring (open else clause after return).

This commit is contained in:
Yukihiro "Matz" Matsumoto
2022-03-02 15:48:09 +09:00
parent a4f740ff9a
commit a9bde42641
+1 -3
View File
@@ -102,9 +102,7 @@ str_init_modifiable(mrb_state *mrb, struct RString *s, const char *p, mrb_int le
if (RSTR_EMBEDDABLE_P(len)) {
return str_init_embed(s, p, len);
}
else {
return str_init_normal(mrb, s, p, len);
}
return str_init_normal(mrb, s, p, len);
}
static struct RString*