From 09e958ed423b99f97f5fd4b101964dfc9e3b32c0 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 21 Nov 2012 20:00:52 +0000 Subject: Remove unused variable from sem_post.c. --- nptl/sysdeps/unix/sysv/linux/sem_post.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nptl/sysdeps/unix/sysv/linux/sem_post.c') diff --git a/nptl/sysdeps/unix/sysv/linux/sem_post.c b/nptl/sysdeps/unix/sysv/linux/sem_post.c index 67e8cc5429..429d1932f2 100644 --- a/nptl/sysdeps/unix/sysv/linux/sem_post.c +++ b/nptl/sysdeps/unix/sysv/linux/sem_post.c @@ -65,7 +65,7 @@ __old_sem_post (sem_t *sem) { int *futex = (int *) sem; - int nr = atomic_increment_val (futex); + (void) atomic_increment_val (futex); /* We always have to assume it is a shared semaphore. */ int err = lll_futex_wake (futex, 1, LLL_SHARED); if (__builtin_expect (err, 0) < 0) -- cgit v1.2.3