Skip to content

Commit

Permalink
Fix unused variable warning with DEBUG=0
Browse files Browse the repository at this point in the history
  • Loading branch information
evanmiller committed Oct 7, 2017
1 parent f987184 commit 67273e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ngx_http_zip_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 67273e3

Please sign in to comment.