diff options
author | David Robillard <d@drobilla.net> | 2020-08-13 17:25:39 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-08-13 17:25:39 +0200 |
commit | 56b8eb22da76b58a60a797994cecb6499e236896 (patch) | |
tree | 38ac10bd2a0465340535397567a150098cc62423 /zix/thread.h | |
parent | c64c8bb33042f2e49eea2efb6e4bbff812e955c1 (diff) | |
download | zix-56b8eb22da76b58a60a797994cecb6499e236896.tar.gz zix-56b8eb22da76b58a60a797994cecb6499e236896.tar.bz2 zix-56b8eb22da76b58a60a797994cecb6499e236896.zip |
Fix unused parameter warnings
Diffstat (limited to 'zix/thread.h')
-rw-r--r-- | zix/thread.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zix/thread.h b/zix/thread.h index 9f05b10..2af0c5e 100644 --- a/zix/thread.h +++ b/zix/thread.h @@ -80,6 +80,8 @@ zix_thread_create(ZixThread* thread, static inline ZixStatus zix_thread_join(ZixThread thread, void** retval) { + (void)retval; + return WaitForSingleObject(thread, INFINITE) ? ZIX_STATUS_SUCCESS : ZIX_STATUS_ERROR; } |