]> granicus.if.org Git - php/commitdiff
Remove needless zeroing of anonymously mmap'd memory
authorJulien Pauli <jpauli@php.net>
Mon, 11 Jul 2016 12:58:12 +0000 (14:58 +0200)
committerJulien Pauli <jpauli@php.net>
Mon, 11 Jul 2016 12:58:12 +0000 (14:58 +0200)
sapi/fpm/fpm/fpm_scoreboard.c

index 8d0868182d763d8d6717b530ee3c0c739319cdae..7ddf1e84d9b9c7e40ffadcaef9210cabb2850596 100644 (file)
@@ -62,7 +62,6 @@ int fpm_scoreboard_init_main() /* {{{ */
                        if (!wp->scoreboard->procs[i]) {
                                return -1;
                        }
-                       memset(wp->scoreboard->procs[i], 0, sizeof(struct fpm_scoreboard_proc_s));
                }
 
                wp->scoreboard->pm = wp->config->pm;