浏览代码

kill off unused warning

Mike Frysinger 19 年之前
父节点
当前提交
bd523e22b5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      libpthread/linuxthreads.old/join.c

+ 1 - 1
libpthread/linuxthreads.old/join.c

@@ -93,7 +93,7 @@ void pthread_exit(void * retval)
 /* Function called by pthread_cancel to remove the thread from
    waiting on a condition variable queue. */
 
-static int join_extricate_func(void *obj, pthread_descr th)
+static int join_extricate_func(void *obj, pthread_descr th attribute_unused)
 {
   volatile pthread_descr self = thread_self();
   pthread_handle handle = obj;