]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
removed invalid assert from e51864e98f951a1d22808410d42751b0d1bb6772
authorMarek Vavruša <mvavrusa@cloudflare.com>
Wed, 30 May 2018 04:38:56 +0000 (21:38 -0700)
committerMarek Vavruša <mvavrusa@cloudflare.com>
Fri, 7 Sep 2018 17:45:21 +0000 (10:45 -0700)
lib/utils.c

index 6c0adcafa9ce48c03bcd4214b33a23ea2415e480..fbd28faeec53c11c451182f974e3f4bcd42aee2c 100644 (file)
@@ -713,7 +713,6 @@ int kr_ranked_rrarray_add(ranked_rr_array_t *array, const knot_rrset_t *rr,
                /* Found the entry to merge with.  Check consistency and merge. */
                bool ok = stashed->rank == rank && !stashed->cached;
                if (!ok) {
-                       assert(false);
                        return kr_error(EEXIST);
                }
                /* It may happen that an RRset is first considered useful