mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-14 15:34:35 +00:00
BUILD: htx: fix a used uninitialized warning on is_cookie2
gcc-3.4 reports this which actually looks like a valid warning when looking at the code, it's unsure why others didn't notice it : src/proto_htx.c: In function `htx_manage_server_side_cookies': src/proto_htx.c:4266: warning: 'is_cookie2' might be used uninitialized in this function
This commit is contained in:
parent
8de1df92a3
commit
6f7a02a381
@ -4263,7 +4263,7 @@ static void htx_manage_server_side_cookies(struct stream *s, struct channel *res
|
||||
struct server *srv;
|
||||
char *hdr_beg, *hdr_end;
|
||||
char *prev, *att_beg, *att_end, *equal, *val_beg, *val_end, *next;
|
||||
int is_cookie2;
|
||||
int is_cookie2 = 0;
|
||||
|
||||
htx = htxbuf(&res->buf);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user