aboutsummaryrefslogtreecommitdiff
path: root/src/supplemental
diff options
context:
space:
mode:
Diffstat (limited to 'src/supplemental')
-rw-r--r--src/supplemental/util/platform.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/supplemental/util/platform.c b/src/supplemental/util/platform.c
index fc0f839e..691ce867 100644
--- a/src/supplemental/util/platform.c
+++ b/src/supplemental/util/platform.c
@@ -44,7 +44,6 @@ nng_thread_create(nng_thread **thrp, void (*func)(void *), void *arg)
if ((thr = NNI_ALLOC_STRUCT(thr)) == NULL) {
return (NNG_ENOMEM);
}
- memset(thr, 0, sizeof(*thr));
*thrp = (void *) thr;
if ((rv = nni_thr_init(thr, func, arg)) != 0) {
return (rv);