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

[RT #16976]
This commit is contained in:
Mark Andrews
2007-08-27 04:48:09 +00:00
parent 5827b4fdfb
commit 033d6a1bd6
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]
2216. [cleanup] Fix a number of errors reported by Coverity.
[RT #17094]

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: validator.c,v 1.91.2.5.8.31 2007/04/27 06:38:56 marka Exp $ */
/* $Id: validator.c,v 1.91.2.5.8.32 2007/08/27 04:48:09 marka Exp $ */
#include <config.h>
@@ -2776,7 +2776,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);