diff options
author | Roland McGrath <roland@redhat.com> | 2009-09-19 17:19:41 -0700 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2009-09-19 17:19:41 -0700 |
commit | 487a6d7735ee5ed07d731306f60b19e57ceb983f (patch) | |
tree | 3363b91b00bc6236b9e8d92cceca19e48429cd2e | |
parent | 24ab9c769754f92dcc7c63a28009ca01e276fc93 (diff) | |
download | glibc-487a6d7735ee5ed07d731306f60b19e57ceb983f.zip glibc-487a6d7735ee5ed07d731306f60b19e57ceb983f.tar.gz glibc-487a6d7735ee5ed07d731306f60b19e57ceb983f.tar.bz2 |
Remove some unused variables.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | libio/wfileops.c | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -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); |