diff options
author | Antony Dovgal <tony2001@php.net> | 2006-02-06 11:28:41 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2006-02-06 11:28:41 +0000 |
commit | bccf4bd9e76bb6009fea6b20a4d15c4eafc24747 (patch) | |
tree | bc7123c7bfbe25b8f12bd1c580b3ce840cfb7f02 /ext/xmlwriter | |
parent | 8911fac6534bc676022e178dfe4d71a29ba5ed2f (diff) | |
download | php-git-bccf4bd9e76bb6009fea6b20a4d15c4eafc24747.tar.gz |
MFH: initialize variables and reduce the number of warnings
Diffstat (limited to 'ext/xmlwriter')
-rw-r--r-- | ext/xmlwriter/php_xmlwriter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/xmlwriter/php_xmlwriter.c b/ext/xmlwriter/php_xmlwriter.c index a6d76c51f9..5c66086eb5 100644 --- a/ext/xmlwriter/php_xmlwriter.c +++ b/ext/xmlwriter/php_xmlwriter.c @@ -1615,7 +1615,7 @@ PHP_FUNCTION(xmlwriter_open_uri) #ifdef ZEND_ENGINE_2 zval *this = getThis(); - ze_xmlwriter_object *ze_obj; + ze_xmlwriter_object *ze_obj = NULL; #endif #ifndef ZEND_ENGINE_2 @@ -1694,7 +1694,7 @@ PHP_FUNCTION(xmlwriter_open_memory) #ifdef ZEND_ENGINE_2 zval *this = getThis(); - ze_xmlwriter_object *ze_obj; + ze_xmlwriter_object *ze_obj = NULL; #endif #ifdef ZEND_ENGINE_2 |