mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
strip trailing spaces and adjusted indents [ci skip]
This commit is contained in:
parent
98de98fb70
commit
0d52dce3a3
2 changed files with 12 additions and 12 deletions
20
cont.c
20
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};
|
||||
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);
|
||||
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[0] != Qundef) {
|
||||
blocking = arguments[0];
|
||||
}
|
||||
|
||||
if (arguments[1] != Qundef) {
|
||||
pool = arguments[1];
|
||||
}
|
||||
if (arguments[1] != Qundef) {
|
||||
pool = arguments[1];
|
||||
}
|
||||
}
|
||||
|
||||
return fiber_initialize(self, rb_block_proc(), rb_fiber_pool_default(pool), RTEST(blocking));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue