summaryrefslogtreecommitdiff
path: root/Zend/zend_strtod.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-04-12 14:56:21 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-04-12 15:12:39 +0200
commite1ab68622815050dfb6ed3f927c438906c2569b9 (patch)
tree543f2d4319c63a721f638e0a799ea0bfd1bffff3 /Zend/zend_strtod.c
parent339b0af42945829017491900b27e08d588241e0b (diff)
downloadphp-git-e1ab68622815050dfb6ed3f927c438906c2569b9.tar.gz
Avoid uninit warning in dtoa
This code is extremely convoluted, I have no idea whether or not this one is legitimate. Suppressing with explicit initialization.
Diffstat (limited to 'Zend/zend_strtod.c')
-rw-r--r--Zend/zend_strtod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_strtod.c b/Zend/zend_strtod.c
index a6648978c4..f327ef4cd5 100644
--- a/Zend/zend_strtod.c
+++ b/Zend/zend_strtod.c
@@ -3751,7 +3751,7 @@ zend_dtoa
*/
int bbits, b2, b5, be, dig, i, ieps, ilim = 0, ilim0, ilim1,
- j, j1, k, k0, k_check, leftright, m2, m5, s2, s5,
+ j, j1 = 0, k, k0, k_check, leftright, m2, m5, s2, s5,
spec_case = 0, try_quick;
Long L;
#ifndef Sudden_Underflow