1
0
mirror of https://github.com/php/php-src.git synced 2026-04-22 23:48:14 +02:00

Remove unused variable and fix small mental error.

This commit is contained in:
Joey Smith
2001-08-14 00:10:39 +00:00
parent 9c6b9eb76b
commit 022626a8f0
+1 -2
View File
@@ -448,7 +448,6 @@ static void php_xpath_set_object(zval *wrapper, void *obj, int rsrc_type)
static zval *php_xpathobject_new(xmlXPathObjectPtr obj, int *found TSRMLS_DC)
{
zval *wrapper;
int rsrc_type;
*found = 0;
if (!obj) {
@@ -2198,7 +2197,7 @@ PHP_FUNCTION(domxml_node_text_concat)
convert_to_string(content);
if(Z_STRLEN_P(content))
xmlTextConcat(nodep, Z_STRVAL_P(content), Z_STRVAL_P(content));
xmlTextConcat(nodep, Z_STRVAL_P(content), Z_STRLEN_P(content));
RETURN_TRUE;
}