1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Add a /* fall through */ comment

This commit is contained in:
Yusuke Endoh 2019-07-14 17:32:49 +09:00
parent 6bca4437de
commit 61577fa53b

1
load.c
View file

@ -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)