]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/i18n/collationiterator.cpp
ICU-66108.tar.gz
[apple/icu.git] / icuSources / i18n / collationiterator.cpp
index 961c9e9acef6755e9b6e20fee691ee12c2d37a99..18ccf014f0a48c91c7ce7fafa44c29e50159a66f 100644 (file)
@@ -872,7 +872,7 @@ CollationIterator::previousCE(UVector32 &offsets, UErrorCode &errorCode) {
             // consistent with forward iteration.
             while(offsets.size() <= ceBuffer.length) {
                 offsets.addElement(limitOffset, errorCode);
-            };
+            }
         }
         return ceBuffer.get(--ceBuffer.length);
     } else {
@@ -932,7 +932,7 @@ CollationIterator::previousCEUnsafe(UChar32 c, UVector32 &offsets, UErrorCode &e
         offset = getOffset();
         while(offsets.size() < ceBuffer.length) {
             offsets.addElement(offset, errorCode);
-        };
+        }
     }
     U_ASSERT(offsets.size() == ceBuffer.length);
     // End offset corresponding to just after the unsafe-backwards segment.