diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-08-13 07:53:04 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-08-13 07:53:04 +0000 |
commit | 374c70c6cb3e27a53134a14b737af956ecfc739e (patch) | |
tree | b5b87cd670e4d58c9bd72a0b9fcbbe2e8f27802e /ext | |
parent | e022015c62694f56f0e2d7bf6d3bbb09dafcaf24 (diff) | |
download | ruby-374c70c6cb3e27a53134a14b737af956ecfc739e.tar.gz |
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
Diffstat (limited to 'ext')
-rw-r--r-- | ext/stringio/stringio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/stringio/stringio.c b/ext/stringio/stringio.c index 363b363261..026a1faaa9 100644 --- a/ext/stringio/stringio.c +++ b/ext/stringio/stringio.c @@ -1376,6 +1376,7 @@ strio_read(int argc, VALUE *argv, VALUE self) StringValue(str); rb_str_modify(str); } + /* fall through */ case 1: if (!NIL_P(argv[0])) { len = NUM2LONG(argv[0]); |