thread: Silence warning about unused attr parameter in pthread_create()

parent ac7367d8
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment