From aa6a62d96dc8397c1cf25616d4c46a960a9aae52 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Mon, 27 Nov 2000 13:13:25 +0000 Subject: Kill a warning (code is correct) --- ext/pcre/php_pcre.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/pcre/php_pcre.c') 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; } } -- cgit v1.2.1