From 2f88f504c1b3ec9a2513c84239019a582a11231e Mon Sep 17 00:00:00 2001 From: Moriyoshi Koizumi Date: Thu, 10 Oct 2002 17:00:36 +0000 Subject: [PATCH] Fixed mb_regex_set_options() --- ext/mbstring/php_mbregex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/mbstring/php_mbregex.c b/ext/mbstring/php_mbregex.c index 7eeeae8c90..8485824592 100644 --- a/ext/mbstring/php_mbregex.c +++ b/ext/mbstring/php_mbregex.c @@ -968,7 +968,7 @@ PHPAPI int php_mb_regex_set_options( int options TSRMLS_DC) /* {{{ php_mb_regex_set_options_by_string */ PHPAPI int php_mb_regex_set_options_by_string( const char *opt_str, int len TSRMLS_DC) { - int new_opt; + int new_opt = 0; _php_mb_regex_init_options( opt_str, len, &new_opt, NULL); return php_mb_regex_set_options( new_opt TSRMLS_CC); } -- 2.40.0