about summary refs log tree commit diff
path: root/libio/wfileops.c
diff options
context:
space:
mode:
authorMarek Polacek <mpolacek@redhat.com>2011-11-11 13:27:59 -0500
committerUlrich Drepper <drepper@gmail.com>2011-11-11 13:27:59 -0500
commitaaddc98c25727f896fc8ed36c5562dc46865dbe6 (patch)
treec9a54763509ae1ee07739ab5ef79125bea9985a6 /libio/wfileops.c
parent57769839788e2c62b68d9dfbf4b35052321278ba (diff)
downloadglibc-aaddc98c25727f896fc8ed36c5562dc46865dbe6.tar.gz
glibc-aaddc98c25727f896fc8ed36c5562dc46865dbe6.tar.xz
glibc-aaddc98c25727f896fc8ed36c5562dc46865dbe6.zip
Remove unused variables
Diffstat (limited to 'libio/wfileops.c')
-rw-r--r--libio/wfileops.c25
1 files changed, 12 insertions, 13 deletions
diff --git a/libio/wfileops.c b/libio/wfileops.c
index 386b06b79f..8f21168fb7 100644
--- a/libio/wfileops.c
+++ b/libio/wfileops.c
@@ -252,7 +252,7 @@ _IO_wfile_underflow (fp)
     {
       if (naccbuf != 0)
 	/* There are some bytes in the external buffer but they don't
-           convert to anything.  */
+	   convert to anything.  */
 	__set_errno (EILSEQ);
       return WEOF;
     }
@@ -340,7 +340,6 @@ static wint_t
 _IO_wfile_underflow_mmap (_IO_FILE *fp)
 {
   struct _IO_codecvt *cd;
-  enum __codecvt_result status;
   const char *read_stop;
 
   if (__builtin_expect (fp->_flags & _IO_NO_READS, 0))
@@ -379,12 +378,12 @@ _IO_wfile_underflow_mmap (_IO_FILE *fp)
   fp->_wide_data->_IO_last_state = fp->_wide_data->_IO_state;
   fp->_wide_data->_IO_read_base = fp->_wide_data->_IO_read_ptr =
     fp->_wide_data->_IO_buf_base;
-  status = (*cd->__codecvt_do_in) (cd, &fp->_wide_data->_IO_state,
-				   fp->_IO_read_ptr, fp->_IO_read_end,
-				   &read_stop,
-				   fp->_wide_data->_IO_read_ptr,
-				   fp->_wide_data->_IO_buf_end,
-				   &fp->_wide_data->_IO_read_end);
+  (*cd->__codecvt_do_in) (cd, &fp->_wide_data->_IO_state,
+			  fp->_IO_read_ptr, fp->_IO_read_end,
+			  &read_stop,
+			  fp->_wide_data->_IO_read_ptr,
+			  fp->_wide_data->_IO_buf_end,
+			  &fp->_wide_data->_IO_read_end);
 
   fp->_IO_read_ptr = (char *) read_stop;
 
@@ -513,9 +512,9 @@ _IO_wfile_sync (fp)
       else
 	{
 	  /* We have to find out the hard way how much to back off.
-             To do this we determine how much input we needed to
-             generate the wide characters up to the current reading
-             position.  */
+	     To do this we determine how much input we needed to
+	     generate the wide characters up to the current reading
+	     position.  */
 	  int nread;
 
 	  fp->_wide_data->_IO_state = fp->_wide_data->_IO_last_state;
@@ -625,8 +624,8 @@ _IO_wfile_seekoff (fp, offset, dir, mode)
 
     case _IO_seek_cur:
       /* Adjust for read-ahead (bytes is buffer).  To do this we must
-         find out which position in the external buffer corresponds to
-         the current position in the internal buffer.  */
+	 find out which position in the external buffer corresponds to
+	 the current position in the internal buffer.  */
       cv = fp->_codecvt;
       clen = (*cv->__codecvt_do_encoding) (cv);