ruby-changes:56498
From: Yusuke <ko1@a...>
Date: Sun, 14 Jul 2019 22:21:27 +0900 (JST)
Subject: [ruby-changes:56498] Yusuke Endoh: 49362ddac6 (master): Add a /* fall through */ comment
https://git.ruby-lang.org/ruby.git/commit/?id=49362ddac6 From 49362ddac60bb9d348cbcd8b7c003f52f5ffa1f5 Mon Sep 17 00:00:00 2001 From: Yusuke Endoh <mame@r...> Date: Sun, 14 Jul 2019 22:20:47 +0900 Subject: Add a /* fall through */ comment diff --git a/vm_insnhelper.c b/vm_insnhelper.c index 93b1ebf..c5584d4 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -737,6 +737,7 @@ cref_replace_with_duplicated_cref_each_frame(const VALUE *vptr, int can_be_svar, https://github.com/ruby/ruby/blob/trunk/vm_insnhelper.c#L737 if (can_be_svar) { return cref_replace_with_duplicated_cref_each_frame((const VALUE *)&((struct vm_svar *)v)->cref_or_me, FALSE, v); } + /* fall through */ case imemo_ment: rb_bug("cref_replace_with_duplicated_cref_each_frame: unreachable"); default: -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/