ruby-changes:47466
From: nobu <ko1@a...>
Date: Sun, 13 Aug 2017 16:53:15 +0900 (JST)
Subject: [ruby-changes:47466] nobu:r59583 (trunk): stringio.c: suppress a warning [ci skip]
nobu 2017-08-13 16:53:04 +0900 (Sun, 13 Aug 2017) New Revision: 59583 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59583 Log: stringio.c: suppress a warning [ci skip] * ext/stringio/stringio.c (strio_read): suppress an implicit-fallthrough warning. Modified files: trunk/ext/stringio/stringio.c Index: ext/stringio/stringio.c =================================================================== --- ext/stringio/stringio.c (revision 59582) +++ ext/stringio/stringio.c (revision 59583) @@ -1376,6 +1376,7 @@ strio_read(int argc, VALUE *argv, VALUE https://github.com/ruby/ruby/blob/trunk/ext/stringio/stringio.c#L1376 StringValue(str); rb_str_modify(str); } + /* fall through */ case 1: if (!NIL_P(argv[0])) { len = NUM2LONG(argv[0]); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/