aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-01-18 22:19:38 +0000
committerUlrich Drepper <drepper@redhat.com>2007-01-18 22:19:38 +0000
commit4f7c7e831bfd6ae6d349ef1a8ea4af661d51cf3b (patch)
tree234be98a33e6b079d4f7a7440e6d0f229f6c6cf1 /nptl
parentcd8127cc70f63e8d920880d32dd8887ab215d8ae (diff)
downloadglibc-4f7c7e831bfd6ae6d349ef1a8ea4af661d51cf3b.tar
glibc-4f7c7e831bfd6ae6d349ef1a8ea4af661d51cf3b.tar.gz
glibc-4f7c7e831bfd6ae6d349ef1a8ea4af661d51cf3b.tar.bz2
glibc-4f7c7e831bfd6ae6d349ef1a8ea4af661d51cf3b.zip
(cleanup): Avoid warning.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/pthread_join.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/pthread_join.c b/nptl/pthread_join.c
index c88d85b52f..6a87a8b329 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);
}