mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-26 11:32:01 -05:00
Since the result of isc_mutex_destroy() is being ignored, cast it to void.
This commit is contained in:
parent
569c05295c
commit
bba01d378b
1 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: entropy.c,v 1.47 2000/08/01 01:31:13 tale Exp $ */
|
||||
/* $Id: entropy.c,v 1.48 2000/08/26 01:10:54 bwelling Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -914,7 +914,7 @@ destroy(isc_entropy_t **entp) {
|
|||
|
||||
UNLOCK(&ent->lock);
|
||||
|
||||
isc_mutex_destroy(&ent->lock);
|
||||
(void)isc_mutex_destroy(&ent->lock);
|
||||
|
||||
memset(ent, 0, sizeof(isc_entropy_t));
|
||||
isc_mem_put(mctx, ent, sizeof(isc_entropy_t));
|
||||
|
|
|
|||
Loading…
Reference in a new issue