summaryrefslogtreecommitdiff
path: root/cont.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-01-09 13:58:49 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-01-09 13:58:49 +0000
commit78d6e3370238c47d5933703fb55d5ab9e8bc4692 (patch)
tree2f9b875ccab85df48503ae0d95727c5c2108765c /cont.c
parentdf0faba1ff958590a02fd668afbf2b525e845b54 (diff)
Fix styles [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'cont.c')
-rw-r--r--cont.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/cont.c b/cont.c
index ac4749230b..e05d9ee47b 100644
--- a/cont.c
+++ b/cont.c
@@ -875,11 +875,13 @@ fiber_machine_stack_alloc(size_t size)
machine_stack_cache_index--;
machine_stack_cache[machine_stack_cache_index].ptr = NULL;
machine_stack_cache[machine_stack_cache_index].size = 0;
- } else {
+ }
+ else {
/* TODO handle multiple machine stack size */
rb_bug("machine_stack_cache size is not canonicalized");
}
- } else {
+ }
+ else {
#ifdef _WIN32
ptr = VirtualAlloc(0, size, MEM_COMMIT, PAGE_READWRITE);