summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.c
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-11-27 13:13:25 +0000
committerSascha Schumann <sas@php.net>2000-11-27 13:13:25 +0000
commitaa6a62d96dc8397c1cf25616d4c46a960a9aae52 (patch)
tree5935f2150d38bfe672ecd5fe248ed1fb477bbb4d /ext/pcre/php_pcre.c
parentd5af60ca2fe3eac352d6e35ddf65b229fb7e0ca0 (diff)
downloadphp-git-aa6a62d96dc8397c1cf25616d4c46a960a9aae52.tar.gz
Kill a warning (code is correct)
Diffstat (limited to 'ext/pcre/php_pcre.c')
-rw-r--r--ext/pcre/php_pcre.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c
index 21d3da6b18..e3664f426a 100644
--- a/ext/pcre/php_pcre.c
+++ b/ext/pcre/php_pcre.c
@@ -1199,6 +1199,8 @@ PHP_FUNCTION(preg_quote)
if (Z_STRLEN_PP(delim) > 0) {
delim_char = Z_STRVAL_PP(delim)[0];
quote_delim = 1;
+ } else {
+ delim_char = 0;
}
}