diff options
author | Antony Dovgal <tony2001@php.net> | 2006-02-06 10:52:34 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2006-02-06 10:52:34 +0000 |
commit | c353a52a110c0dbca89535a61d8cfe44bd38eb7f (patch) | |
tree | cc865202a417d24949211bf1ac80949c7f738643 | |
parent | 4a179933b6c8d8ce19a153a57f42c4385c9aaadd (diff) | |
download | php-git-c353a52a110c0dbca89535a61d8cfe44bd38eb7f.tar.gz |
initialize variables
-rw-r--r-- | ext/simplexml/simplexml.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c index 1a8a7f5aef..edd29e13f1 100644 --- a/ext/simplexml/simplexml.c +++ b/ext/simplexml/simplexml.c @@ -229,10 +229,10 @@ static zval * sxe_prop_dim_read(zval *object, zval *member, zend_bool elements, php_sxe_object *sxe; char *name; xmlNodePtr node; - xmlAttrPtr attr; + xmlAttrPtr attr = NULL; zval tmp_zv; int nodendx = 0; - int test; + int test = 0; sxe = php_sxe_fetch_object(object TSRMLS_CC); @@ -394,7 +394,7 @@ static void sxe_prop_dim_write(zval *object, zval *member, zval *value, zend_boo int counter = 0; int is_attr = 0; int nodendx = 0; - int test; + int test = 0; zval tmp_zv, trim_zv; if (!member) { @@ -558,7 +558,7 @@ static int sxe_prop_dim_exists(zval *object, zval *member, int check_empty, zend xmlNodePtr node; xmlAttrPtr attr = NULL; int exists = 0; - int test; + int test = 0; sxe = php_sxe_fetch_object(object TSRMLS_CC); |