[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commits] r8985 - in /fsf/trunk/libc: ChangeLog libio/wfileops.c



Author: eglibc
Date: Sun Sep 20 00:05:44 2009
New Revision: 8985

Log:
Import glibc-mainline for 2009-09-20

Modified:
    fsf/trunk/libc/ChangeLog
    fsf/trunk/libc/libio/wfileops.c

Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Sun Sep 20 00:05:44 2009
@@ -1,3 +1,7 @@
+2009-09-19  Roland McGrath  <roland@xxxxxxxxxx>
+
+	* libio/wfileops.c (_IO_wfile_seekoff): Remove unused variables.
+
 2009-09-15  Roland McGrath  <roland@xxxxxxxxxx>
 
 	* aclocal.m4 (GLIBC_PROVIDES): Add _AS_ECHO_PREPARE.

Modified: fsf/trunk/libc/libio/wfileops.c
==============================================================================
--- fsf/trunk/libc/libio/wfileops.c (original)
+++ fsf/trunk/libc/libio/wfileops.c Sun Sep 20 00:05:44 2009
@@ -686,10 +686,6 @@
 				  - (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);