about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2015-01-25 22:31:29 +0100
committerAndreas Schwab <schwab@linux-m68k.org>2015-01-25 23:38:04 +0100
commitfa20da31c83b1b64f98f4bbb25ff9460c57af013 (patch)
tree7f13571500ba5a3f84cb650d10ac1cb0d4ea347b /sysdeps
parent45819cbca186a7d04889e3d1fc469c2780b28a0e (diff)
downloadglibc-fa20da31c83b1b64f98f4bbb25ff9460c57af013.tar.gz
glibc-fa20da31c83b1b64f98f4bbb25ff9460c57af013.tar.xz
glibc-fa20da31c83b1b64f98f4bbb25ff9460c57af013.zip
ia64: avoid set-but-not-used warning
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/ia64/lowlevellock.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/ia64/lowlevellock.h b/sysdeps/unix/sysv/linux/ia64/lowlevellock.h
index 19a06a258f..90d4cf3a17 100644
--- a/sysdeps/unix/sysv/linux/ia64/lowlevellock.h
+++ b/sysdeps/unix/sysv/linux/ia64/lowlevellock.h
@@ -117,6 +117,7 @@
 		     __lll_private_flag (FUTEX_CMP_REQUEUE, private),	     \
 		     (int) (nr_wake), (int) (nr_move), (long) (mutex),	     \
 		     (int) val);					     \
+   (void) _retval;							     \
    _r10 == -1;								     \
 })
 
@@ -127,6 +128,7 @@
 		     __lll_private_flag (FUTEX_WAKE_OP, private),	     \
 		     (int) (nr_wake), (int) (nr_wake2), (long) (ftx2),	     \
 		     FUTEX_OP_CLEAR_WAKE_IF_GT_ONE);			     \
+   (void) _retval;							     \
    _r10 == -1;								     \
 })
 
@@ -142,6 +144,7 @@
    DO_INLINE_SYSCALL(futex, 5, (long) (futexp),				      \
 		     __lll_private_flag (__op, private),		      \
 		     (val), (timespec), mutex); 			      \
+   (void) _retval;							     \
    _r10 == -1;								      \
 })