diff options
-rw-r--r-- | ext/pcre/php_pcre.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c index 871dbeea7b..4571da5686 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -428,7 +428,7 @@ static void php_pcre_match(INTERNAL_FUNCTION_PARAMETERS, int global) subpat_names = (char **)safe_emalloc(num_subpats, sizeof(char *), 0); memset(subpat_names, 0, sizeof(char *) * num_subpats); { - int name_cnt, name_size, ni = 0; + int name_cnt = 0, name_size, ni = 0; char *name_table; unsigned short name_idx; |