From 044c7804370a5fd2172dc770545d5af25bffa3ee Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Fri, 18 Jul 2014 12:55:04 +1000 Subject: [PATCH] silence coverity, explicitly ignore dns_peer_gettransferdscp result --- lib/dns/zone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dns/zone.c b/lib/dns/zone.c index 04d2239680..43f8b89a15 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -11526,7 +11526,7 @@ soa_query(isc_task_t *task, isc_event_t *event) { &zone->sourceaddr); if (result == ISC_R_SUCCESS) have_xfrsource = ISC_TRUE; - dns_peer_gettransferdscp(peer, &dscp); + (void)dns_peer_gettransferdscp(peer, &dscp); if (dscp != -1) have_xfrdscp = ISC_TRUE; if (zone->view->resolver != NULL)