From 15da190f2cabd9d27bad26283385d464792ed16a Mon Sep 17 00:00:00 2001 From: christos Date: Sun, 19 Mar 2006 20:41:24 +0000 Subject: [PATCH] Coverity CID 573: Comment out unreachable code. --- lib/libm/src/e_j0f.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/libm/src/e_j0f.c b/lib/libm/src/e_j0f.c index 62510e72167f..a30374ad91e3 100644 --- a/lib/libm/src/e_j0f.c +++ b/lib/libm/src/e_j0f.c @@ -15,7 +15,7 @@ #include #if defined(LIBM_SCCS) && !defined(lint) -__RCSID("$NetBSD: e_j0f.c,v 1.7 2002/05/26 22:01:50 wiz Exp $"); +__RCSID("$NetBSD: e_j0f.c,v 1.8 2006/03/19 20:41:24 christos Exp $"); #endif #include "math.h" @@ -64,8 +64,11 @@ __ieee754_j0f(float x) * j0(x) = 1/sqrt(pi) * (P(0,x)*cc - Q(0,x)*ss) / sqrt(x) * y0(x) = 1/sqrt(pi) * (P(0,x)*ss + Q(0,x)*cc) / sqrt(x) */ +#ifdef DEAD_CODE if(ix>0x80000000) z = (invsqrtpi*cc)/sqrtf(x); - else { + else +#endif + { u = pzerof(x); v = qzerof(x); z = invsqrtpi*(u*cc-v*ss)/sqrtf(x); }