From: Michael Spector Date: Sun, 19 Sep 2021 11:11:11 +0000 (+0300) Subject: ICU-21815 Remove unused line X-Git-Tag: release-71-rc~22 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e730bce02f15fecc290fe042cdf6f74cc9a78a4c;p=icu ICU-21815 Remove unused line --- diff --git a/icu4c/source/common/ucasemap.cpp b/icu4c/source/common/ucasemap.cpp index f727560b571..95b55d56a02 100644 --- a/icu4c/source/common/ucasemap.cpp +++ b/icu4c/source/common/ucasemap.cpp @@ -112,8 +112,7 @@ ucasemap_setLocale(UCaseMap *csm, const char *locale, UErrorCode *pErrorCode) { if(length==sizeof(csm->locale)) { *pErrorCode=U_BUFFER_OVERFLOW_ERROR; } - if(U_SUCCESS(*pErrorCode)) { - csm->caseLocale=UCASE_LOC_UNKNOWN; + if(U_SUCCESS(*pErrorCode)) { csm->caseLocale = ucase_getCaseLocale(csm->locale); } else { csm->locale[0]=0;