mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-2699 Fix a compiler warning
X-SVN-Rev: 12460
This commit is contained in:
parent
263ee64dc2
commit
46745b9422
1 changed files with 1 additions and 1 deletions
|
@ -474,7 +474,7 @@ UnicodeString* CanonicalIterator::getEquivalents(const UnicodeString &segment, i
|
|||
//String[] finalResult = new String[result.size()];
|
||||
UnicodeString *finalResult = NULL;
|
||||
int32_t resultCount;
|
||||
if(resultCount = result->count()) {
|
||||
if((resultCount = result->count())) {
|
||||
finalResult = new UnicodeString[resultCount];
|
||||
} else {
|
||||
status = U_ILLEGAL_ARGUMENT_ERROR;
|
||||
|
|
Loading…
Add table
Reference in a new issue