summary refs log tree commit diff
path: root/sysdeps/ieee754/ldbl-128ibm/s_isnanl.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_isnanl.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_isnanl.c')
-rw-r--r--sysdeps/ieee754/ldbl-128ibm/s_isnanl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/ieee754/ldbl-128ibm/s_isnanl.c b/sysdeps/ieee754/ldbl-128ibm/s_isnanl.c
index 157666cfbd..264dec745e 100644
--- a/sysdeps/ieee754/ldbl-128ibm/s_isnanl.c
+++ b/sysdeps/ieee754/ldbl-128ibm/s_isnanl.c
@@ -29,7 +29,8 @@ static char rcsid[] = "$NetBSD: $";
 int
 ___isnanl (long double x)
 {
-	int64_t hx,lx;
+	int64_t hx;
+	int64_t lx __attribute__ ((unused));
 	GET_LDOUBLE_WORDS64(hx,lx,x);
 	hx &= 0x7fffffffffffffffLL;
 	hx = 0x7ff0000000000000LL - hx;