Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Quash warning in s_sincosl.
  • Loading branch information
Marek Polacek committed Aug 17, 2012
1 parent e3b398f commit 31035e8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions 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.
Expand Down
4 changes: 2 additions & 2 deletions 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 <drepper@cygnus.com>, 1997.
Expand All @@ -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);
Expand Down

0 comments on commit 31035e8

Please sign in to comment.