diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | io.c | 1 |
2 files changed, 4 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Wed Apr 13 20:12:26 2011 Kazuhiro NISHIYAMA <zn@mbf.nifty.com> + + * io.c (rb_io_fdatasync): remove unused variable. + Tue Apr 12 20:54:12 2011 Tanaka Akira <akr@fsij.org> * include/ruby/st.h: parenthesize macro arguments. @@ -1423,7 +1423,6 @@ static VALUE rb_io_fdatasync(VALUE io) { rb_io_t *fptr; - int saved_errno = 0; io = GetWriteIO(io); GetOpenFile(io, fptr); |