From 16f79129c788578711ab63f088dc4f8f43f0a952 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Wed, 12 Jun 2019 13:08:15 +0200 Subject: [PATCH] Fix unused variables in fpm_env.c --- sapi/fpm/fpm/fpm_env.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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. -- 2.40.0