From 6574f19127ea539408267c1891ccc12ca5ebeca2 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 30 Jul 2018 19:11:02 -0400 Subject: [PATCH] Remove dead code left behind by 1b6801051. --- src/backend/nodes/bitmapset.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/backend/nodes/bitmapset.c b/src/backend/nodes/bitmapset.c index 6208f4ed93..8ce253c88d 100644 --- a/src/backend/nodes/bitmapset.c +++ b/src/backend/nodes/bitmapset.c @@ -871,10 +871,8 @@ bms_add_range(Bitmapset *a, int lower, int upper) if (upper < lower) return a; - if (lower < 0 || upper < 0) + if (lower < 0) elog(ERROR, "negative bitmapset member not allowed"); - if (lower > upper) - elog(ERROR, "lower range must not be above upper range"); uwordnum = WORDNUM(upper); if (a == NULL) -- 2.40.0