[PATCH 2/4] Remove unused variable 'one' from sf_cos.c

[email protected]
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
From: Keith Packard <[email protected]>

Defined, never mentioned.

Signed-off-by: Keith Packard <[email protected]>
---
 newlib/libm/math/sf_cos.c | 6 ------
 1 file changed, 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
@@ -16,12 +16,6 @@
 #include "fdlibm.h"
 #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
-- 
2.18.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.