Remove unused and pointless code.
authorBruno Haible <bruno@clisp.org>
Sat, 9 Jun 2007 21:43:24 +0000 (21:43 +0000)
committerBruno Haible <bruno@clisp.org>
Sat, 9 Jun 2007 21:43:24 +0000 (21:43 +0000)
ChangeLog
tests/uniconv/test-u32-strconv-to-enc.c

index 08c5abf628b891b308d878d1957f646dcfe7fa64..6b7e5757c04595eaa288d04225d7988da7b3b119 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-06-09  Bruno Haible  <bruno@clisp.org>
+
+       * tests/uniconv/test-u32-strconv-to-enc.c (main): Remove unused code.
+
 2007-06-09  Bruno Haible  <bruno@clisp.org>
 
        Rename 'allocsa' -> 'malloca', 'freesa' -> 'freea'.
index 785536f04d656a720eeac35cecee018ea4459e62..6a62fa9b39de1ecb4c6aaca096c86627f9cdf7c9 100644 (file)
@@ -102,19 +102,6 @@ main ()
        }
     }
 
-# if 0
-  /* Test conversion from UTF-32 to ISO-8859-1 with EINVAL.  */
-  for (h = 0; h < SIZEOF (handlers); h++)
-    {
-      enum iconv_ilseq_handler handler = handlers[h];
-      static const uint32_t input[] = { 0x12345678, 0 };
-      char *result = u32_strconv_to_encoding (input, "ISO-8859-1", handler);
-      ASSERT (result != NULL);
-      ASSERT (strcmp (result, "") == 0);
-      free (result);
-    }
-# endif
-
 #endif
 
   return 0;