OSDN Git Service

kill off unused warning
authorMike Frysinger <vapier@gentoo.org>
Tue, 27 Dec 2005 09:53:35 +0000 (09:53 -0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 27 Dec 2005 09:53:35 +0000 (09:53 -0000)
libpthread/linuxthreads.old/join.c

index 5aeec6a..a1172fa 100644 (file)
@@ -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;