about summary refs log tree commit diff
path: root/iconv
diff options
context:
space:
mode:
Diffstat (limited to 'iconv')
-rw-r--r--iconv/gconv_simple.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/iconv/gconv_simple.c b/iconv/gconv_simple.c
index 89c0384b8d..96a1efc96b 100644
--- a/iconv/gconv_simple.c
+++ b/iconv/gconv_simple.c
@@ -96,9 +96,6 @@ internal_ucs4_loop (const unsigned char **inptrp, const unsigned char *inend,
   else
     result = __GCONV_INCOMPLETE_INPUT;
 
-  if (converted != NULL)
-    converted += n_convert;
-
   return result;
 }
 
@@ -151,9 +148,6 @@ internal_ucs4le_loop (const unsigned char **inptrp, const unsigned char *inend,
   else
     result = __GCONV_INCOMPLETE_INPUT;
 
-  if (converted != NULL)
-    converted += n_convert;
-
   return result;
 }