diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-02-08 10:35:51 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-02-08 10:35:51 +0900 |
commit | 1ba2b5cdee62426326b93b77877c141609f0b939 (patch) | |
tree | ba4d9dcc938224f60ae4f3518ea5419fe0fd4457 /vm_eval.c | |
parent | 1499f626a55fff59ccfa51dc2924ebfe7c6ded82 (diff) |
Removed unnecessary parentheses at `case` [ci skip]
Diffstat (limited to 'vm_eval.c')
-rw-r--r-- | vm_eval.c | 6 |
1 files changed, 3 insertions, 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; |