diff options
| author | Xinchen Hui <laruence@php.net> | 2013-08-27 15:44:30 +0800 |
|---|---|---|
| committer | Xinchen Hui <laruence@php.net> | 2013-08-27 15:44:30 +0800 |
| commit | 0119bbba6b97e8657a92b0dc6327b04aad9532e7 (patch) | |
| tree | 497616eb0ed7073d2edfc6c380ce289570b2a883 /Zend/zend_operators.h | |
| parent | 1c67a9940a7855bf485ae628d739d8c78ac6d1da (diff) | |
| download | php-git-0119bbba6b97e8657a92b0dc6327b04aad9532e7.tar.gz | |
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]
Diffstat (limited to 'Zend/zend_operators.h')
| -rw-r--r-- | Zend/zend_operators.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |
