From: Marek Polacek Date: Fri, 17 Aug 2012 21:44:53 +0000 (+0200) Subject: Quash warning in s_sincosl. X-Git-Tag: glibc-2.17~654 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=31035e80a409cdb92a771880bee64f7327371287;p=glibc.git Quash warning in s_sincosl. --- diff --git a/ChangeLog b/ChangeLog index eeab2bbc6a..c8b0e6aa33 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-08-17 Marek Polacek + + * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__ + ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used. + 2012-08-17 Roland McGrath * configure.in: Add AC_SUBST for sysheaders. diff --git a/sysdeps/ieee754/ldbl-96/s_sincosl.c b/sysdeps/ieee754/ldbl-96/s_sincosl.c index 2858954b32..2a819592c1 100644 --- a/sysdeps/ieee754/ldbl-96/s_sincosl.c +++ b/sysdeps/ieee754/ldbl-96/s_sincosl.c @@ -1,5 +1,5 @@ /* Compute sine and cosine of argument. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1997. @@ -25,7 +25,7 @@ void __sincosl (long double x, long double *sinx, long double *cosx) { - int32_t se, i0, i1; + int32_t se, i0, i1 __attribute__ ((unused)); /* High word of x. */ GET_LDOUBLE_WORDS (se, i0, i1, x);