summaryrefslogtreecommitdiff
path: root/deps/icu-small/source/common/uhash.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'deps/icu-small/source/common/uhash.cpp')
-rw-r--r--deps/icu-small/source/common/uhash.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/deps/icu-small/source/common/uhash.cpp b/deps/icu-small/source/common/uhash.cpp
index 239997d05d..79241a2829 100644
--- a/deps/icu-small/source/common/uhash.cpp
+++ b/deps/icu-small/source/common/uhash.cpp
@@ -376,8 +376,7 @@ _uhash_find(const UHashtable *hash, UHashTok key,
* WILL NEVER HAPPEN as long as uhash_put() makes sure that
* count is always < length.
*/
- U_ASSERT(FALSE);
- return NULL; /* Never happens if uhash_put() behaves */
+ UPRV_UNREACHABLE;
}
return &(elements[theIndex]);
}