From 67273e3018791fb822d76f761e130d60fb231928 Mon Sep 17 00:00:00 2001 From: Evan Miller Date: Sat, 7 Oct 2017 17:39:25 +0200 Subject: [PATCH] Fix unused variable warning with DEBUG=0 --- ngx_http_zip_module.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ngx_http_zip_module.c b/ngx_http_zip_module.c index fcb7939..c035fee 100644 --- a/ngx_http_zip_module.c +++ b/ngx_http_zip_module.c @@ -487,6 +487,8 @@ ngx_http_zip_subrequest_done(ngx_http_request_t *r, void *data, ngx_int_t rc) { ngx_http_zip_piece_t *piece = (ngx_http_zip_piece_t *)data; + (void)piece; /* fix warning */ + ngx_log_debug3(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, "mod_zip: subrequest for \"%V?%V\" done, result %d", &piece->file->uri, &piece->file->args, rc);