From 2fdedf0462d881d8cd9aad3dbf8f93befd26c9fe Mon Sep 17 00:00:00 2001 From: Andreas Tobler Date: Sat, 5 Mar 2005 08:47:58 +0100 Subject: dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and spec_case. 2005-03-05 Andreas Tobler * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and spec_case. Initialize pointer mlo. * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and delta. * java/lang/e_asin.c (__ieee754_asin): Initialize variable t. * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo and k. * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize uninitialized variable z. * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef possible unused variables. * gnu/java/nio/natPipeImplPosix.cc (init): Remove self. * jawt.c: Include to fix implict declaration of malloc. From-SVN: r95925 --- libjava/java/lang/e_rem_pio2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libjava/java/lang/e_rem_pio2.c') diff --git a/libjava/java/lang/e_rem_pio2.c b/libjava/java/lang/e_rem_pio2.c index 6d3fd19..543234c 100644 --- a/libjava/java/lang/e_rem_pio2.c +++ b/libjava/java/lang/e_rem_pio2.c @@ -89,7 +89,7 @@ pio2_3t = 8.47842766036889956997e-32; /* 0x397B839A, 0x252049C1 */ double x,y[]; #endif { - double z,w,t,r,fn; + double z = 0., w, t, r, fn; double tx[3]; int32_t i,j,n,ix,hx; int e0,nx; -- cgit v1.1