Browse Source

kill off unused warning

Mike Frysinger 19 năm trước cách đây
mục cha
commit
bd523e22b5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;