summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2019-07-14 17:32:49 +0900
committerYusuke Endoh <mame@ruby-lang.org>2019-07-14 17:32:53 +0900
commit61577fa53bd1ce949912c3b1281668e0ccbcda37 (patch)
tree59b6d37c3db193726c802d7b709df5eaebf5435f
parent6bca4437dea5da28b8b7e5f1cb87561f2772a03d (diff)
Add a /* fall through */ comment
-rw-r--r--load.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/load.c b/load.c
index 539b29f89b..9fad2bd1db 100644
--- a/load.c
+++ b/load.c
@@ -923,6 +923,7 @@ search_required(VALUE fname, volatile VALUE *path, int safe_level, feature_func
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)