From 0b89d022a00ad8157ddaea813771bd1f4bffbdb8 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Fri, 22 Sep 2006 18:38:46 +0000 Subject: [PATCH] ICU-5410 Improve test code coverage by commenting out functions that can never be used. X-SVN-Rev: 20387 --- icu4c/source/i18n/name2uni.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/icu4c/source/i18n/name2uni.cpp b/icu4c/source/i18n/name2uni.cpp index d2b898d8932..ba067c792ec 100644 --- a/icu4c/source/i18n/name2uni.cpp +++ b/icu4c/source/i18n/name2uni.cpp @@ -39,7 +39,8 @@ _set_add(USet *set, UChar32 c) { ((UnicodeSet *)set)->add(c); } -static void U_CALLCONV +// These functions aren't used. +/*static void U_CALLCONV _set_addRange(USet *set, UChar32 start, UChar32 end) { ((UnicodeSet *)set)->add(start, end); } @@ -47,7 +48,7 @@ _set_addRange(USet *set, UChar32 start, UChar32 end) { static void U_CALLCONV _set_addString(USet *set, const UChar *str, int32_t length) { ((UnicodeSet *)set)->add(UnicodeString((UBool)(length<0), str, length)); -} +}*/ U_CDECL_END @@ -63,9 +64,9 @@ NameUnicodeTransliterator::NameUnicodeTransliterator(UnicodeFilter* adoptedFilte USetAdder sa = { (USet *)legalPtr, // USet* == UnicodeSet* _set_add, - _set_addRange, - _set_addString, - NULL // don't need remove() + NULL, // Don't need _set_addRange + NULL, // Don't need _set_addString + NULL // Don't need remove() }; uprv_getCharNameCharacters(&sa); }