From 23f6483e0a6232cbfa9f00b1c4050ce58d3216a4 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Sun, 20 Nov 2005 20:17:04 +0000 Subject: [PATCH] Restored a cleanup in rev.1.9 tthat was lost in rev.1.10. --- lib/msun/src/s_tanf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/msun/src/s_tanf.c b/lib/msun/src/s_tanf.c index f97c4f60caf2..852dc12d3981 100644 --- a/lib/msun/src/s_tanf.c +++ b/lib/msun/src/s_tanf.c @@ -36,7 +36,7 @@ __kernel_tandf(double x, int iy) float tanf(float x) { - float y[2],z=0.0; + float y[2]; int32_t n, hx, ix; GET_FLOAT_WORD(hx,x); @@ -45,7 +45,7 @@ tanf(float x) if(ix <= 0x3f490fda) { /* |x| ~<= pi/4 */ if(ix<0x39800000) /* |x| < 2**-12 */ if(((int)x)==0) return x; /* x with inexact if x != 0 */ - return __kernel_tanf(x,z,1); + return __kernel_tanf(x,0.0,1); } if(ix<=0x407b53d1) { /* |x| ~<= 5*pi/4 */ if(ix<=0x4016cbe3) /* |x| ~<= 3pi/4 */