]> git.kaiwu.me - nginx.git/commitdiff
Request body: unbreak build without debug.
authorMaxim Dounin <mdounin@mdounin.ru>
Wed, 21 Nov 2012 01:40:11 +0000 (01:40 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Wed, 21 Nov 2012 01:40:11 +0000 (01:40 +0000)
src/http/ngx_http_request_body.c

index cb3f5982cbd6f5b286eae12de05293394bd85c35..931694ebe6d0511055723df40c74220045046d59 100644 (file)
@@ -976,7 +976,9 @@ ngx_http_request_body_chunked_filter(ngx_http_request_t *r, ngx_chain_t *in)
 static ngx_int_t
 ngx_http_request_body_save_filter(ngx_http_request_t *r, ngx_chain_t *in)
 {
+#if (NGX_DEBUG)
     ngx_chain_t               *cl;
+#endif
     ngx_http_request_body_t   *rb;
 
     rb = r->request_body;