diff options
author | Keith Packard <keithp@keithp.com> | 2017-11-11 20:52:01 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2017-11-11 20:52:01 -0800 |
commit | 23cf8fb4d5745ad76d9517c9702d03d10c58144a (patch) | |
tree | 6d138e533f75466ebd8ee526cc40af5f65344d83 /src/math/sf_cos.c | |
parent | f3b279141cd30ad6a212ce75f5a7c2b8e3d33870 (diff) |
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 <keithp@keithp.com>
Diffstat (limited to 'src/math/sf_cos.c')
-rw-r--r-- | src/math/sf_cos.c | 6 |
1 files changed, 0 insertions, 6 deletions
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 @@ -16,12 +16,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 float cosf(x) |