Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2018-09-30 00:15:45 +0300
committerJames Almer <jamrial@gmail.com>2018-09-30 00:15:45 +0300
commitfac06ece700461038336b78d91202096cc12cb38 (patch)
treee54f93e0d9c6a7d866d0e4eb6204f1ee64f644cd /src/win32/thread.c
parentac7367d8f1accb013a65ffaa52bcd1fc8ba15126 (diff)
thread: Silence warning about unused attr parameter in pthread_create()
Diffstat (limited to 'src/win32/thread.c')
-rw-r--r--src/win32/thread.c1
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;