From 90674cdeeba76bfd9d1905043706f4fa50076aff Mon Sep 17 00:00:00 2001 From: xiaokai1 Date: Tue, 12 Jan 2016 21:22:35 +0800 Subject: [PATCH] the warning is a error that "status" is not initialized in max os: fixed --- src/ngx_http_upsync_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ngx_http_upsync_module.c b/src/ngx_http_upsync_module.c index e41797b..cf83a44 100644 --- a/src/ngx_http_upsync_module.c +++ b/src/ngx_http_upsync_module.c @@ -1673,7 +1673,7 @@ static ngx_int_t ngx_http_upsync_init_process(ngx_cycle_t *cycle) { char *conf_value = NULL; - ngx_int_t status; + ngx_int_t status = 0; ngx_uint_t i, j; ngx_pool_t *pool; ngx_upsync_conf_t *upsync_type_conf;