summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2018-08-27 11:32:29 -0700
committerCorinna Vinschen <corinna@vinschen.de>2018-08-29 15:57:27 +0200
commit088a45cdf6a01059b5c4a7565e83c2bca83c8da5 (patch)
tree626fcd2c6ef89b4a3d357838a94877eb090dba99
parent2c245028afa4883163c6ad7d04da9f7b7745b3b4 (diff)
downloadcygnal-088a45cdf6a01059b5c4a7565e83c2bca83c8da5.tar.gz
cygnal-088a45cdf6a01059b5c4a7565e83c2bca83c8da5.tar.bz2
cygnal-088a45cdf6a01059b5c4a7565e83c2bca83c8da5.zip
Remove unused variable 'one' from sf_cos.c
Defined, never mentioned. Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--newlib/libm/math/sf_cos.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/newlib/libm/math/sf_cos.c b/newlib/libm/math/sf_cos.c
index 8cb0eb008..fa472b173 100644
--- a/newlib/libm/math/sf_cos.c
+++ b/newlib/libm/math/sf_cos.c
@@ -17,12 +17,6 @@
#if __OBSOLETE_MATH
#ifdef __STDC__
-static const float one=1.0;
-#else
-static float one=1.0;
-#endif
-
-#ifdef __STDC__
float cosf(float x)
#else
float cosf(x)