summaryrefslogtreecommitdiff
path: root/ext/soap/php_xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/soap/php_xml.c')
-rw-r--r--ext/soap/php_xml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/soap/php_xml.c b/ext/soap/php_xml.c
index 707d073984..e3505e2890 100644
--- a/ext/soap/php_xml.c
+++ b/ext/soap/php_xml.c
@@ -106,7 +106,7 @@ xmlNodePtr get_node_recurisve_ex(xmlNodePtr node, char *name, char *ns)
xmlNodePtr get_node_with_attribute_ex(xmlNodePtr node, char *name, char *name_ns, char *attribute, char *value, char *attr_ns)
{
- xmlNodePtr trav = node, cur;
+ xmlNodePtr trav = node, cur = NULL;
xmlAttrPtr attr;
if(node == NULL) return NULL;