]> sourceware.org Git - glibc.git/commitdiff
Quash warning in s_sincosl.
authorMarek Polacek <polacek@redhat.com>
Fri, 17 Aug 2012 21:44:53 +0000 (23:44 +0200)
committerMarek Polacek <polacek@redhat.com>
Fri, 17 Aug 2012 21:44:53 +0000 (23:44 +0200)
ChangeLog
sysdeps/ieee754/ldbl-96/s_sincosl.c

index eeab2bbc6ab4adb08f9ac35592371c89347974a2..c8b0e6aa33137df6b518a09ff2bb515922915b14 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-08-17  Marek Polacek  <polacek@redhat.com>
+
+       * 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  <roland@hack.frob.com>
 
        * configure.in: Add AC_SUBST for sysheaders.
index 2858954b32e976ab97e8d2baeae60261a8fa6673..2a819592c1830ece6f9a0fdea53589917b2bf78d 100644 (file)
@@ -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 <drepper@cygnus.com>, 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);
This page took 0.105077 seconds and 5 git commands to generate.