mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Removed unnecessary parentheses at case
[ci skip]
This commit is contained in:
parent
1499f626a5
commit
1ba2b5cdee
1 changed files with 3 additions and 3 deletions
|
@ -477,12 +477,12 @@ rb_call0(rb_execution_context_t *ec,
|
|||
call_type scope = call_scope;
|
||||
int kw_splat = RB_NO_KEYWORDS;
|
||||
|
||||
switch(scope) {
|
||||
case(CALL_PUBLIC_KW):
|
||||
switch (scope) {
|
||||
case CALL_PUBLIC_KW:
|
||||
scope = CALL_PUBLIC;
|
||||
kw_splat = 1;
|
||||
break;
|
||||
case(CALL_FCALL_KW):
|
||||
case CALL_FCALL_KW:
|
||||
scope = CALL_FCALL;
|
||||
kw_splat = 1;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue