Commit a99f237d authored by Christoph Mallon's avatar Christoph Mallon
Browse files

Remove assert, which generates a warning, because a variable of type size_t is always >= 0.

[r28257]
parent 13bb23b1
...@@ -186,7 +186,6 @@ SET *(PMANGLE(new)) (MANGLEP(cmp_fun) cmp, size_t nslots) ...@@ -186,7 +186,6 @@ SET *(PMANGLE(new)) (MANGLEP(cmp_fun) cmp, size_t nslots)
if (nslots > SEGMENT_SIZE * DIRECTORY_SIZE) if (nslots > SEGMENT_SIZE * DIRECTORY_SIZE)
nslots = DIRECTORY_SIZE; nslots = DIRECTORY_SIZE;
else { else {
assert (nslots >= 0);
/* Adjust nslots up to next power of 2, minimum SEGMENT_SIZE */ /* Adjust nslots up to next power of 2, minimum SEGMENT_SIZE */
for (i = SEGMENT_SIZE; i < nslots; i <<= 1) { for (i = SEGMENT_SIZE; i < nslots; i <<= 1) {
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment