2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 05:57:52 +00:00

explicitly ignore error returns

This commit is contained in:
Mark Andrews 2013-02-28 13:44:14 +11:00
parent 3fccc26025
commit b34b328287

View File

@ -938,15 +938,15 @@ make_log_buf(dns_rrl_t *rrl, dns_rrl_entry_t *e,
qname = dns_fixedname_name(&qbuf->qname);
if (qname != NULL) {
ADD_LOG_CSTR(&lb, " for ");
dns_name_totext(qname, ISC_TRUE, &lb);
(void)dns_name_totext(qname, ISC_TRUE, &lb);
} else {
ADD_LOG_CSTR(&lb, " for (?)");
}
if (e->key.s.rtype != DNS_RRL_RTYPE_NXDOMAIN) {
ADD_LOG_CSTR(&lb, " ");
dns_rdataclass_totext(e->key.s.qclass, &lb);
(void)dns_rdataclass_totext(e->key.s.qclass, &lb);
ADD_LOG_CSTR(&lb, " ");
dns_rdatatype_totext(e->key.s.qtype, &lb);
(void)dns_rdatatype_totext(e->key.s.qtype, &lb);
}
snprintf(strbuf, sizeof(strbuf), " (%08x)",
e->key.s.qname_hash);