diff options
author | Ulrich Drepper <drepper@redhat.com> | 2007-01-18 22:19:38 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2007-01-18 22:19:38 +0000 |
commit | 4f7c7e831bfd6ae6d349ef1a8ea4af661d51cf3b (patch) | |
tree | 234be98a33e6b079d4f7a7440e6d0f229f6c6cf1 /nptl/pthread_join.c | |
parent | cd8127cc70f63e8d920880d32dd8887ab215d8ae (diff) | |
download | glibc-4f7c7e831bfd6ae6d349ef1a8ea4af661d51cf3b.zip glibc-4f7c7e831bfd6ae6d349ef1a8ea4af661d51cf3b.tar.gz glibc-4f7c7e831bfd6ae6d349ef1a8ea4af661d51cf3b.tar.bz2 |
(cleanup): Avoid warning.
Diffstat (limited to 'nptl/pthread_join.c')
-rw-r--r-- | nptl/pthread_join.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/pthread_join.c b/nptl/pthread_join.c index c88d85b..6a87a8b 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); } |