diff --git a/ChangeLog b/ChangeLog index 45a21b6f5e..c4cc5e45d2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed Apr 13 20:12:26 2011 Kazuhiro NISHIYAMA + + * io.c (rb_io_fdatasync): remove unused variable. + Tue Apr 12 20:54:12 2011 Tanaka Akira * include/ruby/st.h: parenthesize macro arguments. diff --git a/io.c b/io.c index 46845eb58b..a958b0f276 100644 --- a/io.c +++ b/io.c @@ -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);