From 0119bbba6b97e8657a92b0dc6327b04aad9532e7 Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Tue, 27 Aug 2013 15:44:30 +0800 Subject: Fixed compiler warnings warning: 'local_dval' may be used uninitialized in this function [-Wmaybe-uninitialized] warning: 'dval2' may be used uninitialized in this function [-Wmaybe-uninitialized] --- Zend/zend_operators.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zend/zend_operators.h') diff --git a/Zend/zend_operators.h b/Zend/zend_operators.h index 0b890ff48c..6e7c1c01df 100644 --- a/Zend/zend_operators.h +++ b/Zend/zend_operators.h @@ -132,7 +132,7 @@ static inline zend_uchar is_numeric_string_ex(const char *str, int length, long { const char *ptr; int base = 10, digits = 0, dp_or_e = 0; - double local_dval; + double local_dval = 0.0; zend_uchar type; if (!length) { -- cgit v1.2.1