about summary refs log tree commit diff
path: root/iconvdata/ibm930.c
diff options
context:
space:
mode:
Diffstat (limited to 'iconvdata/ibm930.c')
-rw-r--r--iconvdata/ibm930.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/iconvdata/ibm930.c b/iconvdata/ibm930.c
index 1a78b90e01..0d09b7bec2 100644
--- a/iconvdata/ibm930.c
+++ b/iconvdata/ibm930.c
@@ -56,18 +56,15 @@
 	data->__statep->__count &= 7;					      \
       else								      \
 	{								      \
-	  unsigned char *outbuf = data->__outbuf;			      \
-									      \
 	  /* We are not in the initial state.  To switch back we have	      \
 	     to emit `SI'.  */						      \
-	  if (__builtin_expect (outbuf >= data->__outbufend, 0))	      \
+	  if (__builtin_expect (outbuf >= outend, 0))			      \
 	    /* We don't have enough room in the output buffer.  */	      \
 	    status = __GCONV_FULL_OUTPUT;				      \
 	  else								      \
 	    {								      \
 	      /* Write out the shift sequence.  */			      \
 	      *outbuf++ = SI;						      \
-	      data->__outbuf = outbuf;					      \
 	      data->__statep->__count &= 7;				      \
 	    }								      \
 	}								      \