mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
* adjust indent
This commit is contained in:
parent
c09619d911
commit
a60bf9e693
Notes:
git
2025-06-17 04:18:04 +00:00
5 changed files with 8 additions and 5 deletions
|
@ -13384,7 +13384,8 @@ outer_variable_cmp(const void *a, const void *b, void *arg)
|
|||
|
||||
if (!ap->name) {
|
||||
return -1;
|
||||
} else if (!bp->name) {
|
||||
}
|
||||
else if (!bp->name) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
1
hash.c
1
hash.c
|
@ -3872,7 +3872,6 @@ rb_hash_values(VALUE hash)
|
|||
}
|
||||
rb_ary_set_len(values, size);
|
||||
}
|
||||
|
||||
else {
|
||||
rb_hash_foreach(hash, values_i, values);
|
||||
}
|
||||
|
|
3
proc.c
3
proc.c
|
@ -1562,7 +1562,8 @@ rb_sym_to_proc(VALUE sym)
|
|||
RARRAY_ASET(sym_proc_cache, index, procval);
|
||||
|
||||
return RB_GC_GUARD(procval);
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
return sym_proc_new(rb_cProc, sym);
|
||||
}
|
||||
}
|
||||
|
|
3
re.c
3
re.c
|
@ -3507,7 +3507,8 @@ rb_reg_regcomp(VALUE str)
|
|||
return reg_cache;
|
||||
|
||||
return reg_cache = rb_reg_new_str(str, 0);
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
return rb_reg_new_str(str, 0);
|
||||
}
|
||||
}
|
||||
|
|
3
thread.c
3
thread.c
|
@ -6229,7 +6229,8 @@ threadptr_interrupt_exec_exec(rb_thread_t *th)
|
|||
if (task) {
|
||||
if (task->flags & rb_interrupt_exec_flag_new_thread) {
|
||||
rb_thread_create(task->func, task->data);
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
(*task->func)(task->data);
|
||||
}
|
||||
ruby_xfree(task);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue