mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
Remove unused variable from pthread_cond_timedwait.c.
This commit is contained in:
parent
c3151ad100
commit
fac9916c96
@ -1,3 +1,9 @@
|
||||
2012-11-21 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* pthread_cond_timedwait.c (__pthread_cond_timedwait)
|
||||
[__NR_clock_gettime]: Cast result of INTERNAL_VSYSCALL to void
|
||||
instead of storing in otherwise-unused variable.
|
||||
|
||||
2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
|
||||
|
||||
* Makefile (CFLAGS-open.c, CFLAGS-open64.c, CFLAGS-pause.c)
|
||||
|
@ -115,8 +115,7 @@ __pthread_cond_timedwait (cond, mutex, abstime)
|
||||
{
|
||||
# ifdef __NR_clock_gettime
|
||||
INTERNAL_SYSCALL_DECL (err);
|
||||
int ret;
|
||||
ret = INTERNAL_VSYSCALL (clock_gettime, err, 2,
|
||||
(void) INTERNAL_VSYSCALL (clock_gettime, err, 2,
|
||||
(cond->__data.__nwaiters
|
||||
& ((1 << COND_NWAITERS_SHIFT) - 1)),
|
||||
&rt);
|
||||
|
Loading…
Reference in New Issue
Block a user