From c876971e6486ebedcb264cef8effb9c888e66848 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Wed, 8 Sep 2004 00:19:10 +0000 Subject: [PATCH] ICU-3969 errorCode was not initialized X-SVN-Rev: 16273 --- icu4c/source/common/unistr_case.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/icu4c/source/common/unistr_case.cpp b/icu4c/source/common/unistr_case.cpp index 33ccc275866..be4eb820fed 100644 --- a/icu4c/source/common/unistr_case.cpp +++ b/icu4c/source/common/unistr_case.cpp @@ -146,6 +146,7 @@ UnicodeString::caseMap(BreakIterator *titleIter, UErrorCode errorCode; + errorCode = U_ZERO_ERROR; UCaseProps *csp=ucase_getSingleton(&errorCode); if(U_FAILURE(errorCode)) { setToBogus();