From: Nikita Popov Date: Wed, 12 Jun 2019 11:08:15 +0000 (+0200) Subject: Fix unused variables in fpm_env.c X-Git-Tag: php-7.4.0alpha2~128 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=16f79129c788578711ab63f088dc4f8f43f0a952;p=php Fix unused variables in fpm_env.c --- diff --git a/sapi/fpm/fpm/fpm_env.c b/sapi/fpm/fpm/fpm_env.c index ef7c980efb..9931ab480c 100644 --- a/sapi/fpm/fpm/fpm_env.c +++ b/sapi/fpm/fpm/fpm_env.c @@ -199,9 +199,6 @@ static int fpm_env_conf_wp(struct fpm_worker_pool_s *wp) /* {{{ */ int fpm_env_init_main() /* {{{ */ { struct fpm_worker_pool_s *wp; - int i; - char *first = NULL; - char *last = NULL; char *title; for (wp = fpm_worker_all_pools; wp; wp = wp->next) { @@ -211,6 +208,9 @@ int fpm_env_init_main() /* {{{ */ } #ifndef HAVE_SETPROCTITLE #ifdef __linux__ + int i; + char *first = NULL; + char *last = NULL; /* * This piece of code has been inspirated from nginx and pureftpd code, which * are under BSD licence.