]> granicus.if.org Git - php/commitdiff
*** empty log message ***
authorAndrei Zmievski <andrei@php.net>
Tue, 16 Dec 2003 21:53:27 +0000 (21:53 +0000)
committerAndrei Zmievski <andrei@php.net>
Tue, 16 Dec 2003 21:53:27 +0000 (21:53 +0000)
ext/pcre/php_pcre.c

index 871dbeea7b1e5deacc406ab03366b97c62d1aef5..4571da568620ac30594cd4f0749fe49db11d531b 100644 (file)
@@ -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;