From a99f237d3ec961af3da5d79b03b171311357c395 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Wed, 19 Jan 2011 13:02:21 +0000 Subject: [PATCH] Remove assert, which generates a warning, because a variable of type size_t is always >= 0. [r28257] --- ir/adt/set.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ir/adt/set.c b/ir/adt/set.c index 1806437fe..eb5576322 100644 --- a/ir/adt/set.c +++ b/ir/adt/set.c @@ -186,7 +186,6 @@ SET *(PMANGLE(new)) (MANGLEP(cmp_fun) cmp, size_t nslots) if (nslots > SEGMENT_SIZE * DIRECTORY_SIZE) nslots = DIRECTORY_SIZE; else { - assert (nslots >= 0); /* Adjust nslots up to next power of 2, minimum SEGMENT_SIZE */ for (i = SEGMENT_SIZE; i < nslots; i <<= 1) { } -- 2.20.1