[前][次][番号順一覧][スレッド一覧]

ruby-changes:60423

From: Yusuke <ko1@a...>
Date: Mon, 16 Mar 2020 11:01:26 +0900 (JST)
Subject: [ruby-changes:60423] ad10760b05 (master): proc.c: Remove non-sense /* fall through */

https://git.ruby-lang.org/ruby.git/commit/?id=ad10760b05

From ad10760b0580fdcac2e9fe9be4bd82515cc58484 Mon Sep 17 00:00:00 2001
From: Yusuke Endoh <mame@r...>
Date: Mon, 16 Mar 2020 11:00:32 +0900
Subject: proc.c: Remove non-sense /* fall through */


diff --git a/proc.c b/proc.c
index 0b1be9c..5ee65a0 100644
--- a/proc.c
+++ b/proc.c
@@ -1170,7 +1170,6 @@ rb_block_arity(void) https://github.com/ruby/ruby/blob/trunk/proc.c#L1170
 	    rb_proc_t *proc;
 	    GetProcPtr(procval, proc);
 	    return (proc->is_lambda ? min == max : max != UNLIMITED_ARGUMENTS) ? min : -min-1;
-	    /* fall through */
 	}
 
       default:
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]