summaryrefslogtreecommitdiff
path: root/ext/dom/xpath.c
diff options
context:
space:
mode:
authorChristopher Jones <sixd@php.net>2013-08-14 20:36:50 -0700
committerChristopher Jones <sixd@php.net>2013-08-14 20:36:50 -0700
commit9ad97cd48903ea5454853960f2c14de326e0f624 (patch)
tree9607bef3020deb8da37bacdb1c14624f4b5d1d2f /ext/dom/xpath.c
parent9d62807190ebda858acbb09ad832c96570a97c40 (diff)
downloadphp-git-9ad97cd48903ea5454853960f2c14de326e0f624.tar.gz
Reduce (some) compile noise of 'unused variable' and 'may be used uninitialized' warnings.
Diffstat (limited to 'ext/dom/xpath.c')
-rw-r--r--ext/dom/xpath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dom/xpath.c b/ext/dom/xpath.c
index cf556a3505..d12ef30323 100644
--- a/ext/dom/xpath.c
+++ b/ext/dom/xpath.c
@@ -74,7 +74,7 @@ const zend_function_entry php_dom_xpath_class_functions[] = {
static void dom_xpath_ext_function_php(xmlXPathParserContextPtr ctxt, int nargs, int type) /* {{{ */
{
- zval **args;
+ zval **args = NULL;
zval *retval;
int result, i, ret;
int error = 0;