summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-04-13 11:22:34 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-04-13 11:22:34 +0000
commitc5a284aa17166e5c2a8a163a7290468c05ae9a9a (patch)
tree35def889d2e96c2485c507cd1a9cf6b32890d0a1 /io.c
parent77a12692eeb0a2204b740dfece9f3015975af3be (diff)
* io.c (rb_io_fdatasync): remove unused variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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);