[ruby-cvs:50299] nobu:r43157 (trunk): io.c: suppress false uninitialized-variable warning

nobu at ruby-lang.org nobu at ruby-lang.org
Sun Oct 6 22:52:44 JST 2013


nobu	2013-10-06 22:52:44 +0900 (Sun, 06 Oct 2013)

  New Revision: 43157

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43157

  Log:
    io.c: suppress false uninitialized-variable warning
    
    * io.c (io_ascii8bit_binmode): split from rb_io_ascii8bit_binmode() to
      call with rb_io_t* directly.
    
    * io.c (copy_stream_body): move src_io and dst_io into each blocks
      where those are only used.

  Modified files:
    trunk/io.c


More information about the ruby-cvs mailing list