aboutsummaryrefslogtreecommitdiffstats
path: root/cont.c
diff options
context:
space:
mode:
Diffstat (limited to 'cont.c')
-rw-r--r--cont.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/cont.c b/cont.c
index 8d13988df9..88ce28b1af 100644
--- a/cont.c
+++ b/cont.c
@@ -1825,19 +1825,19 @@ rb_fiber_initialize_kw(int argc, VALUE* argv, VALUE self, int kw_splat)
VALUE blocking = Qfalse;
if (kw_splat != RB_NO_KEYWORDS) {
- VALUE options = Qnil;
- VALUE arguments[2] = {Qundef};
-
- argc = rb_scan_args_kw(kw_splat, argc, argv, ":", &options);
- rb_get_kwargs(options, fiber_initialize_keywords, 0, 2, arguments);
-
- if (arguments[0] != Qundef) {
- blocking = arguments[0];
- }
-
- if (arguments[1] != Qundef) {
- pool = arguments[1];
- }
+ VALUE options = Qnil;
+ VALUE arguments[2] = {Qundef};
+
+ argc = rb_scan_args_kw(kw_splat, argc, argv, ":", &options);
+ rb_get_kwargs(options, fiber_initialize_keywords, 0, 2, arguments);
+
+ if (arguments[0] != Qundef) {
+ blocking = arguments[0];
+ }
+
+ if (arguments[1] != Qundef) {
+ pool = arguments[1];
+ }
}
return fiber_initialize(self, rb_block_proc(), rb_fiber_pool_default(pool), RTEST(blocking));