]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: conn_stream: avoid null-deref warnings on gcc 6
authorWilly Tarreau <w@1wt.eu>
Wed, 2 Mar 2022 13:38:11 +0000 (14:38 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 2 Mar 2022 13:39:39 +0000 (14:39 +0100)
commite4149cdbc696430bc1ef6256ff38336b3e5c1544
tree0316952fe0e82691cfe7876c798fdde411f953a3
parentbd242086733227f0f11e7aa4d37ee6e47ce2b698
BUILD: conn_stream: avoid null-deref warnings on gcc 6

gcc 6 continues its saga with excessive reports of null-deref warnings.
This time it was in the IS_HTX_CS() macro. Let's use __cs_conn() after
cs_conn() was checked.
include/haproxy/conn_stream.h