move condition declarations inside blocks where they are used
diff --git a/src/core/ngx_cycle.c b/src/core/ngx_cycle.c
index f900a28..f0e86eb 100644
--- a/src/core/ngx_cycle.c
+++ b/src/core/ngx_cycle.c
@@ -938,9 +938,6 @@
ngx_uint_t i;
ngx_list_part_t *part;
ngx_open_file_t *file;
-#if !(NGX_WIN32)
- ngx_file_info_t fi;
-#endif
part = &cycle->open_files.part;
file = part->elts;
@@ -996,6 +993,7 @@
}
#else
if (user != (ngx_uid_t) NGX_CONF_UNSET_UINT) {
+ ngx_file_info_t fi;
if (ngx_file_info((const char *) file[i].name.data, &fi) == -1) {
ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno,