]> granicus.if.org Git - icu/commitdiff
Code review feedback
authorShane F. Carr <shane@unicode.org>
Tue, 24 Mar 2020 18:28:50 +0000 (13:28 -0500)
committerShane F. Carr <shane@unicode.org>
Tue, 24 Mar 2020 18:28:50 +0000 (13:28 -0500)
icu4c/source/i18n/measunit_extra.cpp

index 3af1b9fcbf0db533a538d2324f9a45973f3eb4f4..d848965ff43beb226a2d3fca971c8cd5c697fcbb 100644 (file)
@@ -370,10 +370,9 @@ private:
             previ = fIndex;
             if (result == USTRINGTRIE_FINAL_VALUE) {
                 break;
-            } else if (result == USTRINGTRIE_INTERMEDIATE_VALUE) {
-                continue;
             }
-            UPRV_UNREACHABLE;
+            U_ASSERT(result == USTRINGTRIE_INTERMEDIATE_VALUE);
+            // continue;
         } while (fIndex < fSource.length());
 
         if (match < 0) {