ICU-2011 U_ASSERT, fix incorrect assertion in uhash
X-SVN-Rev: 9288
This commit is contained in:
parent
c5e21811a0
commit
b82ae85b5e
@ -895,7 +895,7 @@ _uhash_internalRemoveElement(UHashtable *hash, UHashElement* e) {
|
||||
|
||||
static void
|
||||
_uhash_internalSetResizePolicy(UHashtable *hash, enum UHashResizePolicy policy) {
|
||||
U_ASSERT(hash == 0);
|
||||
U_ASSERT(hash != NULL);
|
||||
U_ASSERT(((int32_t)policy) >= 0);
|
||||
U_ASSERT(((int32_t)policy) < 3);
|
||||
hash->lowWaterRatio = RESIZE_POLICY_RATIO_TABLE[policy * 2];
|
||||
|
Loading…
Reference in New Issue
Block a user