diff --git a/icu4c/source/common/normlzr.cpp b/icu4c/source/common/normlzr.cpp index 8e2ef843890..7ec326b823f 100644 --- a/icu4c/source/common/normlzr.cpp +++ b/icu4c/source/common/normlzr.cpp @@ -784,6 +784,9 @@ UChar32 Normalizer:: current() const case DECOMP_COMPAT: nonConst->currentChar = nonConst->nextDecomp(); break; + case FCD: + /* ### TODO */ + break; } } return currentChar; @@ -834,6 +837,9 @@ UChar32 Normalizer::next() { case DECOMP_COMPAT: currentChar = nextDecomp(); break; + case FCD: + /* ### TODO */ + break; } } return currentChar; @@ -864,6 +870,9 @@ UChar32 Normalizer::previous() case DECOMP_COMPAT: currentChar = prevDecomp(); break; + case FCD: + /* ### TODO */ + break; } } return currentChar; diff --git a/icu4c/source/common/unorm.cpp b/icu4c/source/common/unorm.cpp index c7110897707..3afec560aaf 100644 --- a/icu4c/source/common/unorm.cpp +++ b/icu4c/source/common/unorm.cpp @@ -776,6 +776,10 @@ unorm_decompose(UChar *dest, int32_t destCapacity, destIndex=0; prevCC=0; + /* avoid compiler warnings */ + norm32=0; + c=0; + /* do not attempt to grow if there is no growBuffer function or if it has failed before */ canGrow=(UBool)(growBuffer!=NULL); @@ -1181,6 +1185,10 @@ unorm_makeFCD(UChar *dest, int32_t destCapacity, destIndex=0; prevCC=0; + /* avoid compiler warnings */ + c=0; + fcd16=0; + /* do not attempt to grow if there is no growBuffer function or if it has failed before */ canGrow=(UBool)(growBuffer!=NULL); @@ -2020,6 +2028,10 @@ unorm_compose(UChar *dest, int32_t destCapacity, destIndex=0; prevCC=0; + /* avoid compiler warnings */ + norm32=0; + c=0; + /* do not attempt to grow if there is no growBuffer function or if it has failed before */ canGrow=(UBool)(growBuffer!=NULL);