]> granicus.if.org Git - postgresql/commitdiff
Remove dead code left behind by 1b6801051.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 30 Jul 2018 23:11:02 +0000 (19:11 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 30 Jul 2018 23:11:02 +0000 (19:11 -0400)
src/backend/nodes/bitmapset.c

index 6208f4ed936c129efec9723d0ba691ed9cdfaa97..8ce253c88df951cf17e459531145ef170798245c 100644 (file)
@@ -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)