aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2009-09-19 17:19:41 -0700
committerRoland McGrath <roland@redhat.com>2009-09-19 17:19:41 -0700
commit487a6d7735ee5ed07d731306f60b19e57ceb983f (patch)
tree3363b91b00bc6236b9e8d92cceca19e48429cd2e
parent24ab9c769754f92dcc7c63a28009ca01e276fc93 (diff)
downloadglibc-487a6d7735ee5ed07d731306f60b19e57ceb983f.zip
glibc-487a6d7735ee5ed07d731306f60b19e57ceb983f.tar.gz
glibc-487a6d7735ee5ed07d731306f60b19e57ceb983f.tar.bz2
Remove some unused variables.
-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);