mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
(cleanup): Avoid warning.
This commit is contained in:
parent
cd8127cc70
commit
4f7c7e831b
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user