Since the result of isc_mutex_destroy() is being ignored, cast it to void.
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user