aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/powerpc
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2016-01-25 17:07:07 +0100
committerAndreas Schwab <schwab@suse.de>2016-01-27 09:30:16 +0100
commit4fb66fac3a7bfe152651610a498c988a75fc316d (patch)
tree8bc81491e231899f4f708cb289e785274aedb97f /sysdeps/powerpc
parent6ef1cb957e908a16f4d1ce7243b7527f4f90e804 (diff)
downloadglibc-4fb66fac3a7bfe152651610a498c988a75fc316d.zip
glibc-4fb66fac3a7bfe152651610a498c988a75fc316d.tar.gz
glibc-4fb66fac3a7bfe152651610a498c988a75fc316d.tar.bz2
Remove unused variables
They are flagged by -Wunused-const-variable.
Diffstat (limited to 'sysdeps/powerpc')
-rw-r--r--sysdeps/powerpc/fpu/e_hypotf.c2
-rw-r--r--sysdeps/powerpc/fpu/s_cosf.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/sysdeps/powerpc/fpu/e_hypotf.c b/sysdeps/powerpc/fpu/e_hypotf.c
index c27df25..4836082 100644
--- a/sysdeps/powerpc/fpu/e_hypotf.c
+++ b/sysdeps/powerpc/fpu/e_hypotf.c
@@ -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.
diff --git a/sysdeps/powerpc/fpu/s_cosf.c b/sysdeps/powerpc/fpu/s_cosf.c
index 2d1ec1b..eaeaebc 100644
--- a/sysdeps/powerpc/fpu/s_cosf.c
+++ b/sysdeps/powerpc/fpu/s_cosf.c
@@ -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