summaryrefslogtreecommitdiff
path: root/ext/domxml/php_domxml.c
diff options
context:
space:
mode:
authorJaroslaw Kolakowski <jarkol@php.net>2002-02-04 21:07:39 +0000
committerJaroslaw Kolakowski <jarkol@php.net>2002-02-04 21:07:39 +0000
commit176a426b2eb24e9408f9dae5a40b414ea51c5bff (patch)
treeaf7e224935289d89c950cb09525f3e7a0d585b56 /ext/domxml/php_domxml.c
parent8535164f21b6dc551a519b0e5f11cbd6bd72a2b0 (diff)
downloadphp-git-176a426b2eb24e9408f9dae5a40b414ea51c5bff.tar.gz
Fixed compile error
Diffstat (limited to 'ext/domxml/php_domxml.c')
-rw-r--r--ext/domxml/php_domxml.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/domxml/php_domxml.c b/ext/domxml/php_domxml.c
index c26131162d..a4f96149ff 100644
--- a/ext/domxml/php_domxml.c
+++ b/ext/domxml/php_domxml.c
@@ -3469,10 +3469,10 @@ static char *php_domxslt_string_to_xpathexpr(const char *str)
{
const xmlChar *string = (const xmlChar *)str;
- TSRMLS_FETCH();
-
xmlChar *value;
+ TSRMLS_FETCH();
+
if (xmlStrchr(string, '"')) {
if (xmlStrchr(string, '\'')) {
php_error(E_WARNING, "Cannot create XPath expression (string contains both quote and double-quotes) in %s",