aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--libio/wfileops.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 2fddf61..4bcb539 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-09-19 Roland McGrath <roland@redhat.com>
+
+ * libio/wfileops.c (_IO_wfile_seekoff): Remove unused variables.
+
2009-09-15 Roland McGrath <roland@redhat.com>
* aclocal.m4 (GLIBC_PROVIDES): Add _AS_ECHO_PREPARE.
diff --git a/libio/wfileops.c b/libio/wfileops.c
index 5bc08be..503d341 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);