diff options
author | James Almer <jamrial@gmail.com> | 2018-09-30 00:15:45 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2018-09-30 00:15:45 +0300 |
commit | fac06ece700461038336b78d91202096cc12cb38 (patch) | |
tree | e54f93e0d9c6a7d866d0e4eb6204f1ee64f644cd /src/win32/thread.c | |
parent | ac7367d8f1accb013a65ffaa52bcd1fc8ba15126 (diff) |
thread: Silence warning about unused attr parameter in pthread_create()
Diffstat (limited to 'src/win32/thread.c')
-rw-r--r-- | src/win32/thread.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/win32/thread.c b/src/win32/thread.c index 20e897b..5e381cb 100644 --- a/src/win32/thread.c +++ b/src/win32/thread.c @@ -53,6 +53,7 @@ int pthread_create(pthread_t* thread, const pthread_attr_t* attr, void*(*proc)(void*), void* param) { dav1d_win32_thread_t* th = *thread = malloc(sizeof(*th)); + (void)attr; if (th == NULL) return ENOMEM; th->proc = proc; |