svn commit: branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/sh

carmelo at uclibc.org carmelo at uclibc.org
Wed Jun 18 15:05:18 UTC 2008


Author: carmelo
Date: 2008-06-18 08:05:17 -0700 (Wed, 18 Jun 2008)
New Revision: 22423

Log:
Removed unused automatic variable 'val' to silent gcc

Modified:
   branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h


Changeset:
Modified: branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h
===================================================================
--- branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h	2008-06-18 15:03:41 UTC (rev 22422)
+++ branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h	2008-06-18 15:05:17 UTC (rev 22423)
@@ -85,7 +85,7 @@
      __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 @@
 /* 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 @@
 	      __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\




More information about the uClibc-cvs mailing list