aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
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);
}