From 9bace0a6b93586c460406956dd8145f27581f66c Mon Sep 17 00:00:00 2001 From: Carmelo Amoroso Date: Wed, 18 Jun 2008 15:05:17 +0000 Subject: Removed unused automatic variable 'val' to silent gcc --- libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/sh') diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h index 05040808d..e6ea68dfb 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h @@ -85,7 +85,7 @@ extern int __lll_mutex_unlock_wake (int *__futex) attribute_hidden; __result; }) #define lll_mutex_lock(futex) \ - (void) ({ int __result, val, *__futex = &(futex); \ + (void) ({ int __result, *__futex = &(futex); \ __asm __volatile ("\ .align 2\n\ mova 1f,r0\n\ @@ -105,7 +105,7 @@ extern int __lll_mutex_unlock_wake (int *__futex) attribute_hidden; /* Special version of lll_mutex_lock which causes the unlock function to always wakeup waiters. */ #define lll_mutex_cond_lock(futex) \ - (void) ({ int __result, val, *__futex = &(futex); \ + (void) ({ int __result, *__futex = &(futex); \ __asm __volatile ("\ .align 2\n\ mova 1f,r0\n\ @@ -123,7 +123,7 @@ extern int __lll_mutex_unlock_wake (int *__futex) attribute_hidden; __lll_mutex_lock_wait (__result, __futex); }) #define lll_mutex_timedlock(futex, timeout) \ - ({ int __result, val, *__futex = &(futex); \ + ({ int __result, *__futex = &(futex); \ __asm __volatile ("\ .align 2\n\ mova 1f,r0\n\ -- cgit v1.2.3