ICU-9954 Fix coverity warning.
X-SVN-Rev: 40436
This commit is contained in:
parent
3e17a0d8c3
commit
cb1f0a68f4
@ -792,7 +792,7 @@ int32_t RuleBasedBreakIterator::handleNext() {
|
||||
UTEXT_SETNATIVEINDEX(fText, initialPosition);
|
||||
result = initialPosition;
|
||||
c = UTEXT_NEXT32(fText);
|
||||
if (fData == NULL || c==U_SENTINEL) {
|
||||
if (c==U_SENTINEL) {
|
||||
fDone = TRUE;
|
||||
return UBRK_DONE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user