From: Mark Andrews Date: Mon, 27 Aug 2007 04:36:54 +0000 (+0000) Subject: 2218. [bug] Remove unnecessary REQUIRE from dns_validator_create(). X-Git-Tag: v9.4.2rc1~39^2~23 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=3eab85ca54b681504d772b1d6bb3ccf4f08d4305;p=thirdparty%2Fbind9.git 2218. [bug] Remove unnecessary REQUIRE from dns_validator_create(). [RT #16976] --- diff --git a/CHANGES b/CHANGES index bf1bc348782..243b25021d2 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +2218. [bug] Remove unnecessary REQUIRE from dns_validator_create(). + [RT #16976] + 2217. [func] Adjust update log levels. [RT #17092] 2216. [cleanup] Fix a number of errors reported by Coverity. diff --git a/lib/dns/validator.c b/lib/dns/validator.c index 56035586875..5f116165823 100644 --- a/lib/dns/validator.c +++ b/lib/dns/validator.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: validator.c,v 1.152 2007/06/18 23:47:41 tbox Exp $ */ +/* $Id: validator.c,v 1.153 2007/08/27 04:36:54 marka Exp $ */ #include @@ -2817,7 +2817,6 @@ dns_validator_create(dns_view_t *view, dns_name_t *name, dns_rdatatype_t type, dns_validatorevent_t *event; REQUIRE(name != NULL); - REQUIRE(type != 0); REQUIRE(rdataset != NULL || (rdataset == NULL && sigrdataset == NULL && message != NULL)); REQUIRE(validatorp != NULL && *validatorp == NULL);