From: Joseph Myers Date: Tue, 20 Nov 2012 14:26:07 +0000 (+0000) Subject: Fix set-but-not-used warnings in ldbl-128 nearbyintl, rintl. X-Git-Tag: glibc-2.17~155 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf9a5d186154b1ad4a8459fafa135dcd822e5f3b;p=thirdparty%2Fglibc.git Fix set-but-not-used warnings in ldbl-128 nearbyintl, rintl. --- diff --git a/ChangeLog b/ChangeLog index 6a2c45d2124..44a0ff1f235 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-11-20 Joseph Myers + + * 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 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare diff --git a/sysdeps/ieee754/ldbl-128/s_nearbyintl.c b/sysdeps/ieee754/ldbl-128/s_nearbyintl.c index b335adcaa19..d2afc10a5a0 100644 --- a/sysdeps/ieee754/ldbl-128/s_nearbyintl.c +++ b/sysdeps/ieee754/ldbl-128/s_nearbyintl.c @@ -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); diff --git a/sysdeps/ieee754/ldbl-128/s_rintl.c b/sysdeps/ieee754/ldbl-128/s_rintl.c index 088d3c4d599..ae2142b2c95 100644 --- a/sysdeps/ieee754/ldbl-128/s_rintl.c +++ b/sysdeps/ieee754/ldbl-128/s_rintl.c @@ -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);