summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.c
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>2003-12-15 19:35:34 +0000
committerAndrei Zmievski <andrei@php.net>2003-12-15 19:35:34 +0000
commit0e6a306e68191a56f6dd31fd2e59d23e2a7828c8 (patch)
treee4bc8cfbcc214a0d0760890877ade0a237879c38 /ext/pcre/php_pcre.c
parenta4935ca741c79fdda5340b2fd382d1093541152b (diff)
downloadphp-git-0e6a306e68191a56f6dd31fd2e59d23e2a7828c8.tar.gz
*** empty log message ***
Diffstat (limited to 'ext/pcre/php_pcre.c')
-rw-r--r--ext/pcre/php_pcre.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c
index 7ea9714ff2..454c0d0a37 100644
--- a/ext/pcre/php_pcre.c
+++ b/ext/pcre/php_pcre.c
@@ -429,7 +429,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;