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

silence coverity, explicitly ignore dns_peer_gettransferdscp result

This commit is contained in:
Mark Andrews 2014-07-18 12:55:04 +10:00
parent 89cf81b462
commit 044c780437

View File

@ -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)