diff options
Diffstat (limited to 'tests/reqctx.c')
| -rw-r--r-- | tests/reqctx.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/reqctx.c b/tests/reqctx.c index e937b995..c727b91c 100644 --- a/tests/reqctx.c +++ b/tests/reqctx.c @@ -1,5 +1,5 @@ // -// Copyright 2018 Staysail Systems, Inc. <info@staysail.tech> +// Copyright 2021 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitar.com> // // This software is supplied under the terms of the MIT License, a @@ -28,10 +28,10 @@ static struct { } rep_state; void -rep_cb(void *notused) +rep_cb(void *unused) { int rv; - (void) notused; + (void) unused; nng_mtx_lock(rep_state.mtx); if (rep_state.state == START) { @@ -96,8 +96,6 @@ TestMain("REQ concurrent contexts", { memset(recv_order, 0, NCTX * sizeof(int)); - atexit(nng_fini); - Convey("We can use REQ contexts concurrently", { nng_socket req; |
