From cb1f0a68f4cda2090a2f0aae3ef21403f8c1115a Mon Sep 17 00:00:00 2001 From: Andy Heninger Date: Wed, 20 Sep 2017 22:58:39 +0000 Subject: [PATCH] ICU-9954 Fix coverity warning. X-SVN-Rev: 40436 --- icu4c/source/common/rbbi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4c/source/common/rbbi.cpp b/icu4c/source/common/rbbi.cpp index 2c5e0e7092b..54b289e24d1 100644 --- a/icu4c/source/common/rbbi.cpp +++ b/icu4c/source/common/rbbi.cpp @@ -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; }