stringio.c: suppress a warning [ci skip]
* ext/stringio/stringio.c (strio_read): suppress an implicit-fallthrough warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e022015c62
commit
374c70c6cb
@ -1376,6 +1376,7 @@ strio_read(int argc, VALUE *argv, VALUE self)
|
|||||||
StringValue(str);
|
StringValue(str);
|
||||||
rb_str_modify(str);
|
rb_str_modify(str);
|
||||||
}
|
}
|
||||||
|
/* fall through */
|
||||||
case 1:
|
case 1:
|
||||||
if (!NIL_P(argv[0])) {
|
if (!NIL_P(argv[0])) {
|
||||||
len = NUM2LONG(argv[0]);
|
len = NUM2LONG(argv[0]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user