about summary refs log tree commit diff
path: root/sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-12-04 21:19:17 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-12-04 21:19:17 +0000
commitb37984ad36f2617fff1eb499b0aba4234b30a029 (patch)
tree3991cae507c8a68ca2c6953c1b60830d4c4a4435 /sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c
parentc8df52eccfa2d1ace13d887aa6bdab1178c1edb4 (diff)
downloadglibc-b37984ad36f2617fff1eb499b0aba4234b30a029.tar.gz
glibc-b37984ad36f2617fff1eb499b0aba4234b30a029.tar.xz
glibc-b37984ad36f2617fff1eb499b0aba4234b30a029.zip
Fix ldbl-128ibm "set but not used" warnings.
Diffstat (limited to 'sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c')
-rw-r--r--sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c b/sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c
index 994e287c9e..ff5d7d32b7 100644
--- a/sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c
+++ b/sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c
@@ -31,7 +31,8 @@ static char rcsid[] = "$NetBSD: $";
 long double __nextafterl(long double x, long double y)
 {
 	int64_t hx,hy,ihx,ihy,ilx;
-	u_int64_t lx,ly;
+	u_int64_t lx;
+	u_int64_t ly __attribute__ ((unused));
 
 	GET_LDOUBLE_WORDS64(hx,lx,x);
 	GET_LDOUBLE_WORDS64(hy,ly,y);