mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-09 15:27:38 +00:00
ICU-1234 Init UErrorCode.
X-SVN-Rev: 7727
This commit is contained in:
parent
28778dc33f
commit
6b6183346e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue