diff options
author | Keith Packard <keithp@keithp.com> | 2018-08-27 11:32:29 -0700 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2018-08-29 15:57:27 +0200 |
commit | 088a45cdf6a01059b5c4a7565e83c2bca83c8da5 (patch) | |
tree | 626fcd2c6ef89b4a3d357838a94877eb090dba99 /newlib/libm | |
parent | 2c245028afa4883163c6ad7d04da9f7b7745b3b4 (diff) | |
download | newlib-088a45cdf6a01059b5c4a7565e83c2bca83c8da5.zip newlib-088a45cdf6a01059b5c4a7565e83c2bca83c8da5.tar.gz newlib-088a45cdf6a01059b5c4a7565e83c2bca83c8da5.tar.bz2 |
Remove unused variable 'one' from sf_cos.c
Defined, never mentioned.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'newlib/libm')
-rw-r--r-- | newlib/libm/math/sf_cos.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/newlib/libm/math/sf_cos.c b/newlib/libm/math/sf_cos.c index 8cb0eb0..fa472b1 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) |