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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user