2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

remove redundant check [RT #8539]

This commit is contained in:
Mark Andrews 2003-07-30 00:54:27 +00:00
parent 3818601601
commit 57443f34ba
2 changed files with 2 additions and 11 deletions

View File

@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: rdata.h,v 1.55 2002/06/17 04:01:31 marka Exp $ */
/* $Id: rdata.h,v 1.56 2003/07/30 00:54:27 marka Exp $ */
#ifndef DNS_RDATA_H
#define DNS_RDATA_H 1
@ -468,10 +468,6 @@ dns_rdatatype_ismeta(dns_rdatatype_t type);
/*
* Return true iff the rdata type 'type' is a meta-type
* like ANY or AXFR.
*
* Requires:
* 'type' is a valid rdata type.
*
*/
isc_boolean_t
@ -490,10 +486,6 @@ dns_rdataclass_ismeta(dns_rdataclass_t rdclass);
/*
* Return true iff the rdata class 'rdclass' is a meta-class
* like ANY or NONE.
*
* Requires:
* 'rdclass' is a valid rdata class.
*
*/
isc_boolean_t

View File

@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: rdata.c,v 1.177 2003/07/25 00:01:05 marka Exp $ */
/* $Id: rdata.c,v 1.178 2003/07/30 00:54:26 marka Exp $ */
#include <config.h>
#include <ctype.h>
@ -2055,7 +2055,6 @@ dns_rdatatype_atparent(dns_rdatatype_t type) {
isc_boolean_t
dns_rdataclass_ismeta(dns_rdataclass_t rdclass) {
REQUIRE(rdclass < 65536);
if (rdclass == dns_rdataclass_reserved0
|| rdclass == dns_rdataclass_none