summaryrefslogtreecommitdiff
path: root/libio
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2009-09-21 11:11:19 +0200
committerAndreas Schwab <schwab@redhat.com>2009-09-21 11:11:19 +0200
commit98f5a5bbf1230f9dd1c3f30d1ac19c7ab54be1bb (patch)
tree11738db1e7a3319c79cfb9640825e224d98aadb7 /libio
parente6afe876da31a8f4a6fcb69fa9039139ea61a688 (diff)
parentae0f0dbd0e6205af474cd8e5d5f43ff7a7e46eec (diff)
Merge remote branch 'origin/master' into fedora/master
Diffstat (limited to 'libio')
-rw-r--r--libio/wfileops.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libio/wfileops.c b/libio/wfileops.c
index 5bc08bedfb..503d341a96 100644
--- a/libio/wfileops.c
+++ b/libio/wfileops.c
@@ -686,10 +686,6 @@ _IO_wfile_seekoff (fp, offset, dir, mode)
- (fp->_IO_read_end - fp->_IO_buf_base));
if (offset >= start_offset && offset < fp->_offset)
{
- enum __codecvt_result status;
- struct _IO_codecvt *cd = fp->_codecvt;
- const char *read_ptr_copy;
-
_IO_setg (fp, fp->_IO_buf_base,
fp->_IO_buf_base + (offset - start_offset),
fp->_IO_read_end);