diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-22 22:46:57 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-22 22:46:57 +0000 |
commit | 4f160fa041502845423ef140a1899fbdece06ffb (patch) | |
tree | b22b1a556ae73ca6a6ec8335edbbd38ee3ac501b /io.c | |
parent | f5063b7ea7e774519602f7a112d9acf536a1da33 (diff) | |
download | ruby-4f160fa041502845423ef140a1899fbdece06ffb.tar.gz |
io.c: remove redundant assignment
* io.c (rb_io_sysread): Remove redundan assignment of 'n'.
[Fix GH-767]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -4724,8 +4724,6 @@ rb_io_sysread(int argc, VALUE *argv, VALUE io) rb_raise(rb_eIOError, "sysread for buffered IO"); } - n = fptr->fd; - /* * FIXME: removing rb_thread_wait_fd() here changes sysread semantics * on non-blocking IOs. However, it's still currently possible |