From: Ulrich Drepper Date: Sat, 12 Nov 2011 07:20:29 +0000 (-0500) Subject: Avoid warnings about unused variable in 96-bit j0l and j1l X-Git-Tag: glibc-2.15~91 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8ad89ef88d66f13e139c7dbd16b78729ec1af41c;p=platform%2Fupstream%2Fglibc.git Avoid warnings about unused variable in 96-bit j0l and j1l --- diff --git a/ChangeLog b/ChangeLog index ceea48e..c50ab96 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2011-11-12 Ulrich Drepper + * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing + mantissa words. + * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise. + * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning from unused variable. diff --git a/sysdeps/ieee754/ldbl-96/e_j0l.c b/sysdeps/ieee754/ldbl-96/e_j0l.c index abf4f10..325408d 100644 --- a/sysdeps/ieee754/ldbl-96/e_j0l.c +++ b/sysdeps/ieee754/ldbl-96/e_j0l.c @@ -108,9 +108,9 @@ __ieee754_j0l (long double x) { long double z, s, c, ss, cc, r, u, v; int32_t ix; - u_int32_t se, i0, i1; + u_int32_t se; - GET_LDOUBLE_WORDS (se, i0, i1, x); + GET_LDOUBLE_EXP (se, x); ix = se & 0x7fff; if (__builtin_expect (ix >= 0x7fff, 0)) return one / (x * x); diff --git a/sysdeps/ieee754/ldbl-96/e_j1l.c b/sysdeps/ieee754/ldbl-96/e_j1l.c index 369fd83..d7fcc9b 100644 --- a/sysdeps/ieee754/ldbl-96/e_j1l.c +++ b/sysdeps/ieee754/ldbl-96/e_j1l.c @@ -110,9 +110,9 @@ __ieee754_j1l (long double x) { long double z, c, r, s, ss, cc, u, v, y; int32_t ix; - u_int32_t se, i0, i1; + u_int32_t se; - GET_LDOUBLE_WORDS (se, i0, i1, x); + GET_LDOUBLE_EXP (se, x); ix = se & 0x7fff; if (__builtin_expect (ix >= 0x7fff, 0)) return one / x;