aboutsummaryrefslogtreecommitdiff
path: root/src/platform
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2019-12-29 11:15:11 -0800
committerGarrett D'Amore <garrett@damore.org>2019-12-29 11:15:11 -0800
commite457590015f8c3f4e840e4bed290f052c001e07c (patch)
tree0f6ea53cd3bc858cd0ccc9e29164addcf116d4b8 /src/platform
parent0f9c13c44ce56294c78f8aeff89beb8c6f799ada (diff)
downloadnng-e457590015f8c3f4e840e4bed290f052c001e07c.tar.gz
nng-e457590015f8c3f4e840e4bed290f052c001e07c.tar.bz2
nng-e457590015f8c3f4e840e4bed290f052c001e07c.zip
Silence a few clang-tidy complaints.
Diffstat (limited to 'src/platform')
-rw-r--r--src/platform/posix/posix_resolv_gai.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/platform/posix/posix_resolv_gai.c b/src/platform/posix/posix_resolv_gai.c
index 1d7b7e5b..4bf9d2ec 100644
--- a/src/platform/posix/posix_resolv_gai.c
+++ b/src/platform/posix/posix_resolv_gai.c
@@ -22,7 +22,7 @@
// We use a single resolver taskq - but we allocate a few threads
// for it to ensure that names can be looked up concurrently. This isn't
-// as elegant or scaleable as a true asynchronous resolver would be, but
+// as elegant or scalable as a true asynchronous resolver would be, but
// it has the advantage of being fairly portable, and concurrent enough for
// the vast, vast majority of use cases. The total thread count can be
// changed with this define. Note that some platforms may not have a
@@ -296,10 +296,10 @@ nni_udp_resolv(
}
void
-resolv_worker(void *notused)
+resolv_worker(void *unused)
{
- NNI_ARG_UNUSED(notused);
+ NNI_ARG_UNUSED(unused);
nni_mtx_lock(&resolv_mtx);
for (;;) {