From 23cf8fb4d5745ad76d9517c9702d03d10c58144a Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sat, 11 Nov 2017 20:52:01 -0800 Subject: altos: Fix new GCC warnings * Duplicate 'const' in test code. * Mis-formatted loop in kf_rem_pio2 * Unused 'one' in sf_cos Signed-off-by: Keith Packard --- src/math/sf_cos.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/math/sf_cos.c') diff --git a/src/math/sf_cos.c b/src/math/sf_cos.c index 4c0a9a53..2f46ec32 100644 --- a/src/math/sf_cos.c +++ b/src/math/sf_cos.c @@ -15,12 +15,6 @@ #include "fdlibm.h" -#ifdef __STDC__ -static const float one=1.0; -#else -static float one=1.0; -#endif - #ifdef __STDC__ float cosf(float x) #else -- cgit v1.2.3