ICU-3969 errorCode was not initialized

X-SVN-Rev: 16273
This commit is contained in:
George Rhoten 2004-09-08 00:19:10 +00:00
parent 35591b2f7a
commit c876971e64

View File

@ -146,6 +146,7 @@ UnicodeString::caseMap(BreakIterator *titleIter,
UErrorCode errorCode;
errorCode = U_ZERO_ERROR;
UCaseProps *csp=ucase_getSingleton(&errorCode);
if(U_FAILURE(errorCode)) {
setToBogus();