summaryrefslogtreecommitdiff
path: root/Zend
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-12-07 20:45:58 +0000
committerAntony Dovgal <tony2001@php.net>2006-12-07 20:45:58 +0000
commitfeba2edba2e0925bd3ada626beedeed229ebc6c9 (patch)
treeb857c77bb983ce231736540084dcb201863ac134 /Zend
parent6b8526efce0faaf440b07a92ff74e24556772b61 (diff)
downloadphp-git-feba2edba2e0925bd3ada626beedeed229ebc6c9.tar.gz
initialize variables
Diffstat (limited to 'Zend')
-rw-r--r--Zend/zend_strtod.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Zend/zend_strtod.c b/Zend/zend_strtod.c
index 01091fd36a..4fed8c3552 100644
--- a/Zend/zend_strtod.c
+++ b/Zend/zend_strtod.c
@@ -1449,9 +1449,9 @@ ZEND_API char * zend_dtoa(double _d, int mode, int ndigits, int *decpt, int *sig
to hold the suppressed trailing zeros.
*/
- int bbits, b2, b5, be, dig, i, ieps, ilim, ilim0, ilim1,
+ int bbits, b2, b5, be, dig, i, ieps, ilim = 0, ilim0, ilim1,
j, j1, k, k0, k_check, leftright, m2, m5, s2, s5,
- spec_case, try_quick;
+ spec_case = 0, try_quick;
Long L;
#ifndef Sudden_Underflow
int denorm;
@@ -1828,9 +1828,9 @@ bump_up:
b2 += Log2P;
s2 += Log2P;
spec_case = 1;
- }
- else
+ } else {
spec_case = 0;
+ }
}
/* Arrange for convenient computation of quotients: