]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/i18n/collationbuilder.cpp
ICU-64252.0.1.tar.gz
[apple/icu.git] / icuSources / i18n / collationbuilder.cpp
index 954a20d2d97d451b4a15616f67475d1b5c0b6775..45ac6ddcd5839b58d7604fb2d2029e7cea54998a 100644 (file)
@@ -577,8 +577,7 @@ CollationBuilder::getSpecialResetPosition(const UnicodeString &str,
         parserErrorReason = "LDML forbids tailoring to U+FFFF";
         return 0;
     default:
-        U_ASSERT(FALSE);
-        return 0;
+        UPRV_UNREACHABLE;
     }
 
     int32_t index = findOrInsertNodeForRootCE(ce, strength, errorCode);