diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-25 11:02:09 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-25 11:02:09 +0000 |
commit | b0480260e244f73804ffa131bb2db3af29e79872 (patch) | |
tree | 31273bf6aece20df84a3dd7a3fa957c075be14b7 | |
parent | df4699320d24ee4d405c0561a62b500649fc181b (diff) | |
download | ruby-b0480260e244f73804ffa131bb2db3af29e79872.tar.gz |
* io.c (rb_io_s_pipe): unused variable removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | io.c | 3 |
2 files changed, 4 insertions, 3 deletions
@@ -1,3 +1,7 @@ +Thu Dec 25 20:01:50 2008 Tanaka Akira <akr@fsij.org> + + * io.c (rb_io_s_pipe): unused variable removed. + Thu Dec 25 19:35:51 2008 NARUSE, Yui <naruse@ruby-lang.org> * transcode.c (sym_ignore): remove useless symbol. @@ -7076,7 +7076,6 @@ rb_io_s_pipe(int argc, VALUE *argv, VALUE klass) rb_io_t *fptr, *fptr2; int fmode = 0; VALUE ret; - VALUE rw[2]; opt = pop_last_hash(&argc, argv); rb_scan_args(argc, argv, "02", &v1, &v2); @@ -7110,8 +7109,6 @@ rb_io_s_pipe(int argc, VALUE *argv, VALUE klass) fptr2->mode |= fmode; ret = rb_assoc_new(r, w); - rw[0] = r; - rw[1] = w; if (rb_block_given_p()) { return rb_ensure(pipe_yield, ret, io_close, r); } |