2218. [bug] Remove unnecessary REQUIRE from dns_validator_create().

[RT #16976]
This commit is contained in:
Mark Andrews
2007-08-27 04:36:54 +00:00
parent c5adbd722d
commit 3eab85ca54
2 changed files with 4 additions and 2 deletions

View File

@@ -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.

View File

@@ -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 <config.h>
@@ -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);