From: Julien Pauli Date: Mon, 11 Jul 2016 12:58:12 +0000 (+0200) Subject: Remove needless zeroing of anonymously mmap'd memory X-Git-Tag: php-7.1.0beta1~109^2^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2552cf248d6d0e84010f625d89398dfc0b835ef0;p=php Remove needless zeroing of anonymously mmap'd memory --- diff --git a/sapi/fpm/fpm/fpm_scoreboard.c b/sapi/fpm/fpm/fpm_scoreboard.c index 8d0868182d..7ddf1e84d9 100644 --- a/sapi/fpm/fpm/fpm_scoreboard.c +++ b/sapi/fpm/fpm/fpm_scoreboard.c @@ -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;