diff options
author | Joey Smith <joey@php.net> | 2001-08-14 00:10:39 +0000 |
---|---|---|
committer | Joey Smith <joey@php.net> | 2001-08-14 00:10:39 +0000 |
commit | 022626a8f03e3ec8296971b7fc85614df906a7bd (patch) | |
tree | 04c0e161eac676076d653ef45f8d4fd1fd7dee38 /ext/domxml/php_domxml.c | |
parent | 9c6b9eb76bb493f0166eb6c1661721c54d93129e (diff) | |
download | php-git-022626a8f03e3ec8296971b7fc85614df906a7bd.tar.gz |
Remove unused variable and fix small mental error.
Diffstat (limited to 'ext/domxml/php_domxml.c')
-rw-r--r-- | ext/domxml/php_domxml.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/domxml/php_domxml.c b/ext/domxml/php_domxml.c index 71b5771573..3bc58096a4 100644 --- a/ext/domxml/php_domxml.c +++ b/ext/domxml/php_domxml.c @@ -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; } |