# HG changeset patch # User Maxim Dounin # Date 1216088349 -14400 # Node ID 2e1eaf93e67ec83378f2cd5415004c148e078bd1 # Parent 91985471307e5b6a8f6971407194b81c04b114ae Fix warnings. diff --git a/ngx_http_bytes_filter_module.c b/ngx_http_bytes_filter_module.c --- a/ngx_http_bytes_filter_module.c +++ b/ngx_http_bytes_filter_module.c @@ -136,6 +136,9 @@ ngx_http_bytes_header_filter(ngx_http_re bad = 0; len = 0; + suffix = 0; + start = 0; + end = 0; while (p < last) { @@ -149,8 +152,6 @@ ngx_http_bytes_header_filter(ngx_http_re state = sw_last_byte_pos; break; } - suffix = 0; - start = 0; state = sw_first_byte_pos_n; /* fall through */