From 898f558ebafc2408d3bb5047d19c6d779323ad80 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 9 Jun 2007 21:43:24 +0000 Subject: [PATCH] Remove unused and pointless code. --- ChangeLog | 4 ++++ tests/uniconv/test-u32-strconv-to-enc.c | 13 ------------- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/ChangeLog b/ChangeLog index 08c5abf62..6b7e5757c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2007-06-09 Bruno Haible + * tests/uniconv/test-u32-strconv-to-enc.c (main): Remove unused code. + +2007-06-09 Bruno Haible + Rename 'allocsa' -> 'malloca', 'freesa' -> 'freea'. * modules/malloca: Renamed from modules/allocsa, updated. * lib/malloca.h: Renamed from lib/allocsa.h, updated. diff --git a/tests/uniconv/test-u32-strconv-to-enc.c b/tests/uniconv/test-u32-strconv-to-enc.c index 785536f04..6a62fa9b3 100644 --- a/tests/uniconv/test-u32-strconv-to-enc.c +++ b/tests/uniconv/test-u32-strconv-to-enc.c @@ -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; -- 2.11.0