From: Mark Andrews Date: Tue, 7 May 2013 12:28:19 +0000 (+1000) Subject: remove dead code X-Git-Tag: v9.10.0a1~355 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=831b70f5bd862b1ab711113702fd9d57df6513a1;p=thirdparty%2Fbind9.git remove dead code --- diff --git a/lib/dns/rbtdb.c b/lib/dns/rbtdb.c index 950e2cdcf9d..35951cf3d6f 100644 --- a/lib/dns/rbtdb.c +++ b/lib/dns/rbtdb.c @@ -7008,8 +7008,6 @@ rbt_datafixer(dns_rbtnode_t *rbtnode, void *base, size_t filesize, for (header = rbtnode->data; header != NULL; header = header->next) { p = (unsigned char *) header; - if (p == NULL) - return (ISC_R_INVALIDFILE); size = dns_rdataslab_size(p, sizeof(*header)); isc_sha1_update(sha1, p, size);