aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c1
1 files changed, 0 insertions, 1 deletions
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);