ICU-1234 Init UErrorCode.

X-SVN-Rev: 7727
This commit is contained in:
George Rhoten 2002-02-20 23:01:27 +00:00
parent 28778dc33f
commit 6b6183346e

View file

@ -73,7 +73,7 @@ Transliterator* TransliteratorIDParser::SingleID::createInstance() {
}
if (t != NULL) {
if (filter.length() != 0) {
UErrorCode ec;
UErrorCode ec = U_ZERO_ERROR;
UnicodeSet *set = new UnicodeSet(filter, ec);
if (U_FAILURE(ec)) {
delete set;