diff options
author | Moriyoshi Koizumi <moriyoshi@php.net> | 2002-10-10 17:00:36 +0000 |
---|---|---|
committer | Moriyoshi Koizumi <moriyoshi@php.net> | 2002-10-10 17:00:36 +0000 |
commit | 2f88f504c1b3ec9a2513c84239019a582a11231e (patch) | |
tree | cce83a2107acad881445e1e527b0e0d1ac947d18 /ext/mbstring/php_mbregex.c | |
parent | 70742ae9b636502e263bb5edc3878ab8571dd5ed (diff) | |
download | php-git-2f88f504c1b3ec9a2513c84239019a582a11231e.tar.gz |
Fixed mb_regex_set_options()
Diffstat (limited to 'ext/mbstring/php_mbregex.c')
-rw-r--r-- | ext/mbstring/php_mbregex.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |