Explorar el Código

port r14513 from 1.1: Fix warning

Samuel Thibault hace 10 años
padre
commit
4cf9428508
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      include/pthread_win32/pthread.h

+ 1 - 0
include/pthread_win32/pthread.h

@@ -384,6 +384,7 @@ static __inline int pthread_once (pthread_once_t *once, void (*oncefun)(void)) {
 }
 
 static __inline int pthread_key_create (pthread_key_t *key, void (*freefun)(void *)) {
+  (void)freefun;
   pthread_key_t res;
   winPthreadAssertWindows((res = TlsAlloc()) != 0xFFFFFFFF);
   *key = res;