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

ruby-changes:56469

From: Yusuke <ko1@a...>
Date: Sun, 14 Jul 2019 17:33:09 +0900 (JST)
Subject: [ruby-changes:56469] Yusuke Endoh: 61577fa53b (master): Add a /* fall through */ comment

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

From 61577fa53bd1ce949912c3b1281668e0ccbcda37 Mon Sep 17 00:00:00 2001
From: Yusuke Endoh <mame@r...>
Date: Sun, 14 Jul 2019 17:32:49 +0900
Subject: Add a /* fall through */ comment


diff --git a/load.c b/load.c
index 539b29f..9fad2bd 100644
--- a/load.c
+++ b/load.c
@@ -923,6 +923,7 @@ search_required(VALUE fname, volatile VALUE *path, int safe_level, feature_func https://github.com/ruby/ruby/blob/trunk/load.c#L923
 	    if (loading) *path = rb_filesystem_str_new_cstr(loading);
 	    return ft;
 	}
+        /* fall through */
       case 1:
 	ext = strrchr(ftptr = RSTRING_PTR(tmp), '.');
 	if (rb_feature_p(ftptr, ext, !--type, TRUE, &loading) && !loading)
-- 
cgit v0.10.2


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

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