]> granicus.if.org Git - php/commitdiff
Silence warning
authorDerick Rethans <derick@php.net>
Mon, 8 Jul 2002 07:33:22 +0000 (07:33 +0000)
committerDerick Rethans <derick@php.net>
Mon, 8 Jul 2002 07:33:22 +0000 (07:33 +0000)
ext/standard/array.c

index 35dee2362648215d8448b2321da45673f203dd05..73a87fb011e251d5b18fa7e7050e249e99f743d1 100644 (file)
@@ -3238,7 +3238,7 @@ PHP_FUNCTION(array_map)
                uint str_key_len;
                ulong num_key;
                char *str_key;
-               int key_type;
+               int key_type = 0;
 
                /*
                 * If no callback, the result will be an array, consisting of current