summaryrefslogtreecommitdiff
path: root/vm_eval.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-02-08 10:35:51 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-02-08 10:35:51 +0900
commit1ba2b5cdee62426326b93b77877c141609f0b939 (patch)
treeba4d9dcc938224f60ae4f3518ea5419fe0fd4457 /vm_eval.c
parent1499f626a55fff59ccfa51dc2924ebfe7c6ded82 (diff)
downloadruby-1ba2b5cdee62426326b93b77877c141609f0b939.tar.gz
Removed unnecessary parentheses at `case` [ci skip]
Diffstat (limited to 'vm_eval.c')
-rw-r--r--vm_eval.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/vm_eval.c b/vm_eval.c
index eae9464a1b..58f81174f8 100644
--- a/vm_eval.c
+++ b/vm_eval.c
@@ -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;