remove redundant check [RT #8539]

This commit is contained in:
Mark Andrews
2003-07-30 01:04:15 +00:00
parent 10f78228b6
commit 6773fb173e
2 changed files with 2 additions and 11 deletions
+1 -9
View File
@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: rdata.h,v 1.51.2.2 2002/02/20 02:17:25 marka Exp $ */
/* $Id: rdata.h,v 1.51.2.3 2003/07/30 01:04:15 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
+1 -2
View File
@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: rdata.c,v 1.147.2.10 2003/07/23 06:57:48 marka Exp $ */
/* $Id: rdata.c,v 1.147.2.11 2003/07/30 01:04:15 marka Exp $ */
#include <config.h>
#include <ctype.h>
@@ -2052,7 +2052,6 @@ dns_rdatatype_questiononly(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