summaryrefslogtreecommitdiff
path: root/ext/domxml/php_domxml.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/domxml/php_domxml.c')
-rw-r--r--ext/domxml/php_domxml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/domxml/php_domxml.c b/ext/domxml/php_domxml.c
index 04b95e45ac..6c0a2a4417 100644
--- a/ext/domxml/php_domxml.c
+++ b/ext/domxml/php_domxml.c
@@ -2382,7 +2382,7 @@ PHP_FUNCTION(domxml_doc_get_elements_by_tagname)
Returns element for given id or false if not found */
PHP_FUNCTION(domxml_doc_get_element_by_id)
{
- zval *id, *rv, *contextnode = NULL, *ctxpin = NULL;
+ zval *id, *rv = NULL, *contextnode = NULL, *ctxpin = NULL;
xmlXPathContextPtr ctxp ;
xmlDocPtr docp;