summaryrefslogtreecommitdiff
path: root/ext/mbstring/oniguruma
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-09-28 07:22:37 +0000
committerAntony Dovgal <tony2001@php.net>2006-09-28 07:22:37 +0000
commit9c4e7a07437b6d9984c4d1279e84ab42bbcb0a8f (patch)
tree7d247b8de4f977ab2e4693c2030ece7ab70f6104 /ext/mbstring/oniguruma
parentecd52167d7cea805b9f2304bd42ae26cee1f1575 (diff)
downloadphp-git-9c4e7a07437b6d9984c4d1279e84ab42bbcb0a8f.tar.gz
initialize variable and make valgrind happy
Diffstat (limited to 'ext/mbstring/oniguruma')
-rw-r--r--ext/mbstring/oniguruma/regexec.c1
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; \