diff options
Diffstat (limited to 'ext/simplexml/simplexml.c')
| -rw-r--r-- | ext/simplexml/simplexml.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c index 5db0c9893b..0820b0ea2f 100644 --- a/ext/simplexml/simplexml.c +++ b/ext/simplexml/simplexml.c @@ -1502,7 +1502,7 @@ SXE_METHOD(children) { php_sxe_object *sxe; char *nsprefix = NULL; - int nsprefix_len; + int nsprefix_len = 0; xmlNodePtr node; zend_bool isprefix = 0; @@ -1551,7 +1551,7 @@ SXE_METHOD(attributes) { php_sxe_object *sxe; char *nsprefix = NULL; - int nsprefix_len; + int nsprefix_len = 0; xmlNodePtr node; zend_bool isprefix = 0; |
