From 4f7c7e831bfd6ae6d349ef1a8ea4af661d51cf3b Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 18 Jan 2007 22:19:38 +0000 Subject: [PATCH] (cleanup): Avoid warning. --- nptl/pthread_join.c | 4 ++-- 1 file 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); }