From: Roland McGrath Date: Sun, 20 Sep 2009 00:19:41 +0000 (-0700) Subject: Remove some unused variables. X-Git-Tag: fedora/glibc-2.10.90-23~1^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=487a6d7735ee5ed07d731306f60b19e57ceb983f;p=thirdparty%2Fglibc.git Remove some unused variables. --- diff --git a/ChangeLog b/ChangeLog index 2fddf615c4a..4bcb5395780 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-09-19 Roland McGrath + + * libio/wfileops.c (_IO_wfile_seekoff): Remove unused variables. + 2009-09-15 Roland McGrath * aclocal.m4 (GLIBC_PROVIDES): Add _AS_ECHO_PREPARE. diff --git a/libio/wfileops.c b/libio/wfileops.c index 5bc08bedfbc..503d341a96d 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);