From b34b3282878f2daf038c5c0ac4fc9d7c761ca5a8 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 28 Feb 2013 13:44:14 +1100 Subject: [PATCH] explicitly ignore error returns --- lib/dns/rrl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/dns/rrl.c b/lib/dns/rrl.c index 3398d70a86..f92a63a091 100644 --- a/lib/dns/rrl.c +++ b/lib/dns/rrl.c @@ -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);