summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-07 02:52:42 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-07 02:52:42 +0000
commit83db393e489cc48783d19a81c3a1a9448caf847f (patch)
treea21a2f6bf178abd5cfb9536dfca44582ce5891bc /array.c
parent5385ae9af43208c014040ed1025b09415d48b36f (diff)
adjust style
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'array.c')
-rw-r--r--array.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/array.c b/array.c
index 4b5e84e..ae1f8c1 100644
--- a/array.c
+++ b/array.c
@@ -412,9 +412,9 @@ ary_new(VALUE klass, long capa)
ARY_SET_PTR(ary, ptr);
ARY_SET_CAPA(ary, capa);
ARY_SET_HEAP_LEN(ary, 0);
- } else {
+ }
+ else {
ary = ary_alloc(klass);
-
}
return ary;