From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 78138 invoked by alias); 29 Aug 2018 14:01:26 -0000 Mailing-List: contact newlib-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-cvs-owner@sourceware.org Received: (qmail 78036 invoked by uid 9078); 29 Aug 2018 14:01:26 -0000 Date: Wed, 29 Aug 2018 14:01:00 -0000 Message-ID: <20180829140126.78033.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Corinna Vinschen To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] Remove unused variable 'one' from sf_cos.c X-Act-Checkin: newlib-cygwin X-Git-Author: Keith Packard X-Git-Refname: refs/heads/master X-Git-Oldrev: 2c245028afa4883163c6ad7d04da9f7b7745b3b4 X-Git-Newrev: 088a45cdf6a01059b5c4a7565e83c2bca83c8da5 X-SW-Source: 2018-q3/txt/msg00103.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=088a45cdf6a01059b5c4a7565e83c2bca83c8da5 commit 088a45cdf6a01059b5c4a7565e83c2bca83c8da5 Author: Keith Packard Date: Mon Aug 27 11:32:29 2018 -0700 Remove unused variable 'one' from sf_cos.c Defined, never mentioned. Signed-off-by: Keith Packard Diff: --- 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 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)