ruby-changes:9505
From: akr <ko1@a...>
Date: Thu, 25 Dec 2008 20:02:34 +0900 (JST)
Subject: [ruby-changes:9505] Ruby:r21045 (trunk): * io.c (rb_io_s_pipe): unused variable removed.
akr 2008-12-25 20:02:09 +0900 (Thu, 25 Dec 2008) New Revision: 21045 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=21045 Log: * io.c (rb_io_s_pipe): unused variable removed. Modified files: trunk/ChangeLog trunk/io.c Index: ChangeLog =================================================================== --- ChangeLog (revision 21044) +++ ChangeLog (revision 21045) @@ -1,3 +1,7 @@ +Thu Dec 25 20:01:50 2008 Tanaka Akira <akr@f...> + + * io.c (rb_io_s_pipe): unused variable removed. + Thu Dec 25 19:35:51 2008 NARUSE, Yui <naruse@r...> * transcode.c (sym_ignore): remove useless symbol. Index: io.c =================================================================== --- io.c (revision 21044) +++ io.c (revision 21045) @@ -7076,7 +7076,6 @@ 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 @@ 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); } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/