Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove unused variables
They are flagged by -Wunused-const-variable.
  • Loading branch information
Andreas Schwab committed Jan 27, 2016
1 parent 6ef1cb9 commit 4fb66fa
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 10 deletions.
17 changes: 13 additions & 4 deletions ChangeLog
@@ -1,13 +1,22 @@
2016-01-27 Andreas Schwab <schwab@suse.de>

* sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
* sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
* sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
* sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.

2016-01-26 David S. Miller <davem@davemloft.net>

* sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.

2016-01-25 David S. Miller <davem@davemloft.net>

* sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for __sqrtl_finite.
* sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define instead using
versioned_symbol.
* sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering of entries.
* sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
__sqrtl_finite.
* sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
instead using versioned_symbol.
* sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
of entries.

* sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
__sqrtl_finite to GLIBC_2.23
Expand Down
1 change: 0 additions & 1 deletion sysdeps/ieee754/ldbl-128ibm/s_erfl.c
Expand Up @@ -147,7 +147,6 @@ deval (long double x, const long double *p, int n)

static const long double
tiny = 1e-300L,
half = 0.5L,
one = 1.0L,
two = 2.0L,
/* 2/sqrt(pi) - 1 */
Expand Down
2 changes: 0 additions & 2 deletions sysdeps/ieee754/ldbl-128ibm/s_log1pl.c
Expand Up @@ -117,8 +117,6 @@ static const long double C2 = 1.428606820309417232121458176568075500134E-6L;

static const long double sqrth = 0.7071067811865475244008443621048490392848L;
/* ln (2^16384 * (1 - 2^-113)) */
static const long double maxlog = 1.1356523406294143949491931077970764891253E4L;
static const long double big = 2e300L;
static const long double zero = 0.0L;


Expand Down
2 changes: 0 additions & 2 deletions sysdeps/powerpc/fpu/e_hypotf.c
Expand Up @@ -21,8 +21,6 @@
#include <math_private.h>
#include <stdint.h>

static const float two30 = 1.0737418e09;

/* __ieee754_hypotf(x,y)
This a FP only version without any FP->INT conversion.
Expand Down
1 change: 0 additions & 1 deletion sysdeps/powerpc/fpu/s_cosf.c
Expand Up @@ -21,7 +21,6 @@
#include <math.h>
#include <math_private.h>

static const float one = 1.0;
static const float pio4 = 7.8539801e-1;

float
Expand Down

0 comments on commit 4fb66fa

Please sign in to comment.