From: Ulrich Drepper Date: Thu, 18 Jan 2007 22:19:38 +0000 (+0000) Subject: (cleanup): Avoid warning. X-Git-Tag: cvs/fedora-glibc-20070202T0923~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4f7c7e831bfd6ae6d349ef1a8ea4af661d51cf3b;p=thirdparty%2Fglibc.git (cleanup): Avoid warning. --- diff --git a/nptl/pthread_join.c b/nptl/pthread_join.c index c88d85b52f5..6a87a8b329c 100644 --- a/nptl/pthread_join.c +++ b/nptl/pthread_join.c @@ -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); }