summaryrefslogtreecommitdiff
path: root/ext/xsl
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2011-08-08 16:06:40 +0000
committerIlia Alshanetsky <iliaa@php.net>2011-08-08 16:06:40 +0000
commit0b3cb3f22000f3e70a4a9adc09ae5290d95392bd (patch)
tree861ac0071fc4c2fa18cfe76e31c815cc32ca6ac4 /ext/xsl
parent6b5d5b8d128aa7e94e746fe7730c23a20681c214 (diff)
downloadphp-git-0b3cb3f22000f3e70a4a9adc09ae5290d95392bd.tar.gz
Fixed build
Diffstat (limited to 'ext/xsl')
-rw-r--r--ext/xsl/xsltprocessor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/xsl/xsltprocessor.c b/ext/xsl/xsltprocessor.c
index 2aa4479e27..ff3808bb4f 100644
--- a/ext/xsl/xsltprocessor.c
+++ b/ext/xsl/xsltprocessor.c
@@ -620,7 +620,7 @@ Since:
*/
PHP_FUNCTION(xsl_xsltprocessor_transform_to_doc)
{
- zval *id, *rv = NULL, *docp = NULL;
+ zval *id, *docp = NULL;
xmlDoc *newdocp;
xsltStylesheetPtr sheetp;
int ret, ret_class_len=0;
@@ -664,7 +664,7 @@ PHP_FUNCTION(xsl_xsltprocessor_transform_to_doc)
php_libxml_increment_doc_ref(interndoc, newdocp TSRMLS_CC);
php_libxml_increment_node_ptr(interndoc, (xmlNodePtr)newdocp, (void *)interndoc TSRMLS_CC);
} else {
- DOM_RET_OBJ(rv, (xmlNodePtr) newdocp, &ret, NULL);
+ DOM_RET_OBJ((xmlNodePtr) newdocp, &ret, NULL);
}
} else {
RETURN_FALSE;