BUILD: http: stop gcc-4.1.2 from complaining about possibly uninitialized values
authorWilly Tarreau <w@1wt.eu>
Wed, 11 Apr 2012 15:28:40 +0000 (17:28 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 29 Apr 2012 22:19:31 +0000 (00:19 +0200)
commit46787ed700b38f8798c33f70e662fb1df1c21641
tree184dab78e4091b163b5684ce515b254412d6e97c
parent3fb818c0146f9f428cd1eeb7393e1f4c644d7232
BUILD: http: stop gcc-4.1.2 from complaining about possibly uninitialized values

The three warnings below are totally wrong since the variables depend on another
one which is only turned on when the variables are initialized. Still this gcc-4.1.2
isn't able to see this and prefers to complain wrongly. So let's initialize the
variables to shut it up since we're not in the fast path.

src/proto_http.c: In function 'acl_fetch_any_cookie_cnt':
src/proto_http.c:8393: warning: 'val_end' may be used uninitialized in this function

src/proto_http.c: In function 'http_process_req_stat_post':
src/proto_http.c:2577: warning: 'st_next_param' may be used uninitialized in this function
src/proto_http.c:2577: warning: 'st_cur_param' may be used uninitialized in this function
src/proto_http.c