소스 검색

fix warning

Samuel Thibault 10 년 전
부모
커밋
47ce0b1f95
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/common/thread.c

+ 1 - 1
src/common/thread.c

@@ -168,7 +168,7 @@ int starpu_pthread_mutexattr_init(starpu_pthread_mutexattr_t *attr STARPU_ATTRIB
 
 static int used_key[MAX_TSD];
 
-int starpu_pthread_key_create(starpu_pthread_key_t *key, void (*destr_function) (void *))
+int starpu_pthread_key_create(starpu_pthread_key_t *key, void (*destr_function) (void *) STARPU_ATTRIBUTE_UNUSED)
 {
 	unsigned i;