(cleanup): Avoid warning.
authordrepper <drepper>
Thu, 18 Jan 2007 22:19:38 +0000 (22:19 +0000)
committerdrepper <drepper>
Thu, 18 Jan 2007 22:19:38 +0000 (22:19 +0000)
nptl/pthread_join.c

index c88d85b..6a87a8b 100644 (file)
@@ -30,8 +30,8 @@ cleanup (void *arg)
   /* If we already changed the waiter ID, reset it.  The call cannot
      fail for any reason but the thread not having done that yet so
      there is no reason for a loop.  */
-  atomic_compare_and_exchange_bool_acq ((struct pthread **) arg, NULL,
-                                       THREAD_SELF);
+  (void) atomic_compare_and_exchange_bool_acq ((struct pthread **) arg, NULL,
+                                              THREAD_SELF);
 }