about summary refs log tree commit diff
path: root/nptl/sysdeps
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-11-21 20:00:52 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-11-21 20:00:52 +0000
commit09e958ed423b99f97f5fd4b101964dfc9e3b32c0 (patch)
tree21a46a41def2cc9240656c7366fea923a51684a2 /nptl/sysdeps
parentfac9916c962ffa03350322d616c44f07467850eb (diff)
downloadglibc-09e958ed423b99f97f5fd4b101964dfc9e3b32c0.tar.gz
glibc-09e958ed423b99f97f5fd4b101964dfc9e3b32c0.tar.xz
glibc-09e958ed423b99f97f5fd4b101964dfc9e3b32c0.zip
Remove unused variable from sem_post.c.
Diffstat (limited to 'nptl/sysdeps')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/sem_post.c2
1 files changed, 1 insertions, 1 deletions
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)