]> granicus.if.org Git - php/commitdiff
*** empty log message ***
authorAndrei Zmievski <andrei@php.net>
Mon, 15 Dec 2003 19:35:34 +0000 (19:35 +0000)
committerAndrei Zmievski <andrei@php.net>
Mon, 15 Dec 2003 19:35:34 +0000 (19:35 +0000)
ext/pcre/php_pcre.c

index 7ea9714ff2dda4b317cd31ebab6abf80f549daa7..454c0d0a37b38878c7b4a5fd4167b5cc3bb05517 100644 (file)
@@ -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;