lib/icu/Collate: remove unnecessary assert()

This commit is contained in:
Max Kellermann 2017-09-20 23:05:31 +02:00
parent 75c740fe2b
commit be024d4ad7

View File

@ -146,7 +146,6 @@ AllocatedString<>
IcuCaseFold(const char *src) IcuCaseFold(const char *src)
try { try {
#ifdef HAVE_ICU #ifdef HAVE_ICU
assert(collator != nullptr);
#if !CLANG_CHECK_VERSION(3,6) #if !CLANG_CHECK_VERSION(3,6)
/* disabled on clang due to -Wtautological-pointer-compare */ /* disabled on clang due to -Wtautological-pointer-compare */
assert(src != nullptr); assert(src != nullptr);