diff options
author | Antony Dovgal <tony2001@php.net> | 2006-09-28 07:22:37 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2006-09-28 07:22:37 +0000 |
commit | 9c4e7a07437b6d9984c4d1279e84ab42bbcb0a8f (patch) | |
tree | 7d247b8de4f977ab2e4693c2030ece7ab70f6104 | |
parent | ecd52167d7cea805b9f2304bd42ae26cee1f1575 (diff) | |
download | php-git-9c4e7a07437b6d9984c4d1279e84ab42bbcb0a8f.tar.gz |
initialize variable and make valgrind happy
-rw-r--r-- | ext/mbstring/oniguruma/regexec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/mbstring/oniguruma/regexec.c b/ext/mbstring/oniguruma/regexec.c index 1a9567a3d0..c117a8c430 100644 --- a/ext/mbstring/oniguruma/regexec.c +++ b/ext/mbstring/oniguruma/regexec.c @@ -390,6 +390,7 @@ typedef struct { #define STATE_CHECK_BUFF_INIT(msa, str_len, state_num) do { \ (msa).state_check_buff = (void* )0;\ + (msa).state_check_buff_size = 0;\ if ((state_num) > 0 && str_len >= STATE_CHECK_STRING_THRESHOLD_LEN) {\ int size = ((int )((str_len) + 1) * (state_num) + 7) / 8;\ (msa).state_check_buff_size = size; \ |