1
0
Fork 0
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:
Nobuyoshi Nakada 2021-02-08 10:35:51 +09:00
parent 1499f626a5
commit 1ba2b5cdee
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -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;