mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-9954 Fix coverity warning.
X-SVN-Rev: 40436
This commit is contained in:
parent
3e17a0d8c3
commit
cb1f0a68f4
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue