summaryrefslogtreecommitdiffstats
path: root/libnetdata/threads
diff options
context:
space:
mode:
authorVladimir Kobal <vlad@prokk.net>2022-02-21 12:23:48 +0200
committerGitHub <noreply@github.com>2022-02-21 12:23:48 +0200
commitd8b7b6a25f7fc0ec4d79a7f8a72c779e3bf4afd7 (patch)
tree8fba2db960467dcbbd3cba0660d1a874c16783db /libnetdata/threads
parentad72a83afdd5fbd1075d1d1f3cc97edfdea4650e (diff)
Fix compilation warnings on macOS (#12082)
Diffstat (limited to 'libnetdata/threads')
-rw-r--r--libnetdata/threads/threads.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libnetdata/threads/threads.c b/libnetdata/threads/threads.c
index d7636940f7..12007afff5 100644
--- a/libnetdata/threads/threads.c
+++ b/libnetdata/threads/threads.c
@@ -147,6 +147,7 @@ void uv_thread_set_name_np(uv_thread_t ut, const char* name) {
pthread_set_name_np(ut, threadname);
#elif defined(__APPLE__)
// Apple can only set its own name
+ UNUSED(ut);
#else
ret = pthread_setname_np(ut, threadname);
#endif