2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

silence coverity issues; move isc_refcount_decrement out of INSIST

This commit is contained in:
Mark Andrews
2018-12-31 17:57:16 +11:00
parent 67fbbc4e0c
commit bd529b1f30
5 changed files with 12 additions and 6 deletions

View File

@@ -3177,7 +3177,7 @@ process_fd(isc__socketthread_t *thread, int fd, bool readable,
/*
* Sock is being closed, it will be destroyed, bail.
*/
isc_refcount_decrement(&sock->references);
(void)isc_refcount_decrement(&sock->references);
UNLOCK(&thread->fdlock[lockid]);
return;
}