Commit bba01d37 authored by Brian Wellington's avatar Brian Wellington
Browse files

Since the result of isc_mutex_destroy() is being ignored, cast it to void.

parent 569c0529
......@@ -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));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment