shithub: dav1d

Download patch

ref: fac06ece700461038336b78d91202096cc12cb38
parent: ac7367d8f1accb013a65ffaa52bcd1fc8ba15126
author: James Almer <jamrial@gmail.com>
date: Sat Sep 29 14:15:45 EDT 2018

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

--- a/src/win32/thread.c
+++ b/src/win32/thread.c
@@ -53,6 +53,7 @@
                    void*(*proc)(void*), void* param)
 {
     dav1d_win32_thread_t* th = *thread = malloc(sizeof(*th));
+    (void)attr;
     if (th == NULL)
         return ENOMEM;
     th->proc = proc;