Fix set-but-not-used warnings in ldbl-128 nearbyintl, rintl.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 20 Nov 2012 14:26:07 +0000 (14:26 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 20 Nov 2012 14:26:07 +0000 (14:26 +0000)
ChangeLog
sysdeps/ieee754/ldbl-128/s_nearbyintl.c
sysdeps/ieee754/ldbl-128/s_rintl.c

index 6a2c45d..44a0ff1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-11-20  Joseph Myers  <joseph@codesourcery.com>
+
+       * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
+       variable I1 with __attribute__ ((unused)).
+       * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
+
 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
 
        * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
index b335adc..d2afc10 100644 (file)
@@ -37,7 +37,7 @@ long double __nearbyintl(long double x)
 {
        fenv_t env;
        int64_t i0,j0,sx;
-       u_int64_t i1;
+       u_int64_t i1 __attribute__ ((unused));
        long double w,t;
        GET_LDOUBLE_WORDS64(i0,i1,x);
        sx = (((u_int64_t)i0)>>63);
index 088d3c4..ae2142b 100644 (file)
@@ -39,7 +39,7 @@ TWO112[2]={
 long double __rintl(long double x)
 {
        int64_t i0,j0,sx;
-       u_int64_t i1;
+       u_int64_t i1 __attribute__ ((unused));
        long double w,t;
        GET_LDOUBLE_WORDS64(i0,i1,x);
        sx = (((u_int64_t)i0)>>63);