From owner-svn-src-all@FreeBSD.ORG Sat Oct 15 07:00:29 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DCDF106566B; Sat, 15 Oct 2011 07:00:29 +0000 (UTC) (envelope-from das@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 42B6B8FC12; Sat, 15 Oct 2011 07:00:29 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p9F70TmU000262; Sat, 15 Oct 2011 07:00:29 GMT (envelope-from das@svn.freebsd.org) Received: (from das@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p9F70TpN000255; Sat, 15 Oct 2011 07:00:29 GMT (envelope-from das@svn.freebsd.org) Message-Id: <201110150700.p9F70TpN000255@svn.freebsd.org> From: David Schultz Date: Sat, 15 Oct 2011 07:00:29 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r226380 - head/lib/msun/src X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Oct 2011 07:00:29 -0000 Author: das Date: Sat Oct 15 07:00:28 2011 New Revision: 226380 URL: http://svn.freebsd.org/changeset/base/226380 Log: Remove some unnecessary initializations. Obtained from: DragonFlyBSD Modified: head/lib/msun/src/e_hypot.c head/lib/msun/src/e_hypotf.c head/lib/msun/src/e_lgamma_r.c head/lib/msun/src/e_lgammaf_r.c head/lib/msun/src/s_expm1.c head/lib/msun/src/s_expm1f.c Modified: head/lib/msun/src/e_hypot.c ============================================================================== --- head/lib/msun/src/e_hypot.c Sat Oct 15 05:48:43 2011 (r226379) +++ head/lib/msun/src/e_hypot.c Sat Oct 15 07:00:28 2011 (r226380) @@ -54,7 +54,7 @@ __FBSDID("$FreeBSD$"); double __ieee754_hypot(double x, double y) { - double a=x,b=y,t1,t2,y1,y2,w; + double a,b,t1,t2,y1,y2,w; int32_t j,k,ha,hb; GET_HIGH_WORD(ha,x); Modified: head/lib/msun/src/e_hypotf.c ============================================================================== --- head/lib/msun/src/e_hypotf.c Sat Oct 15 05:48:43 2011 (r226379) +++ head/lib/msun/src/e_hypotf.c Sat Oct 15 07:00:28 2011 (r226380) @@ -22,7 +22,7 @@ __FBSDID("$FreeBSD$"); float __ieee754_hypotf(float x, float y) { - float a=x,b=y,t1,t2,y1,y2,w; + float a,b,t1,t2,y1,y2,w; int32_t j,k,ha,hb; GET_FLOAT_WORD(ha,x); Modified: head/lib/msun/src/e_lgamma_r.c ============================================================================== --- head/lib/msun/src/e_lgamma_r.c Sat Oct 15 05:48:43 2011 (r226379) +++ head/lib/msun/src/e_lgamma_r.c Sat Oct 15 07:00:28 2011 (r226380) @@ -269,7 +269,6 @@ __ieee754_lgamma_r(double x, int *signga } else if(ix<0x40200000) { /* x < 8.0 */ i = (int)x; - t = zero; y = x-(double)i; p = y*(s0+y*(s1+y*(s2+y*(s3+y*(s4+y*(s5+y*s6)))))); q = one+y*(r1+y*(r2+y*(r3+y*(r4+y*(r5+y*r6))))); Modified: head/lib/msun/src/e_lgammaf_r.c ============================================================================== --- head/lib/msun/src/e_lgammaf_r.c Sat Oct 15 05:48:43 2011 (r226379) +++ head/lib/msun/src/e_lgammaf_r.c Sat Oct 15 07:00:28 2011 (r226380) @@ -202,7 +202,6 @@ __ieee754_lgammaf_r(float x, int *signga } else if(ix<0x41000000) { /* x < 8.0 */ i = (int)x; - t = zero; y = x-(float)i; p = y*(s0+y*(s1+y*(s2+y*(s3+y*(s4+y*(s5+y*s6)))))); q = one+y*(r1+y*(r2+y*(r3+y*(r4+y*(r5+y*r6))))); Modified: head/lib/msun/src/s_expm1.c ============================================================================== --- head/lib/msun/src/s_expm1.c Sat Oct 15 05:48:43 2011 (r226379) +++ head/lib/msun/src/s_expm1.c Sat Oct 15 07:00:28 2011 (r226380) @@ -135,7 +135,6 @@ expm1(double x) GET_HIGH_WORD(hx,x); xsb = hx&0x80000000; /* sign bit of x */ - if(xsb==0) y=x; else y= -x; /* y = |x| */ hx &= 0x7fffffff; /* high word of |x| */ /* filter out huge and non-finite argument */ Modified: head/lib/msun/src/s_expm1f.c ============================================================================== --- head/lib/msun/src/s_expm1f.c Sat Oct 15 05:48:43 2011 (r226379) +++ head/lib/msun/src/s_expm1f.c Sat Oct 15 07:00:28 2011 (r226380) @@ -44,7 +44,6 @@ expm1f(float x) GET_FLOAT_WORD(hx,x); xsb = hx&0x80000000; /* sign bit of x */ - if(xsb==0) y=x; else y= -x; /* y = |x| */ hx &= 0x7fffffff; /* high word of |x| */ /* filter out huge and non-finite argument */