]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: sockpair: do not set unused flag
authorWilly Tarreau <w@1wt.eu>
Fri, 17 Sep 2021 09:56:25 +0000 (11:56 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 17 Sep 2021 09:56:25 +0000 (11:56 +0200)
commit0ce77ac204e0d8f998dd20e0dc2a2c840c1dfc61
tree904859cdb8f3a560bded84e39ebf41c46171e801
parentf2dda52e784f3eebc693a70b9491a428cbbf188e
BUILD: sockpair: do not set unused flag

Ilya reports in GH #1392 that clang 13 complains about a flag being added
to the "flags" parameter without being used later. That's generic code
that was shared from TCP but we can indeed drop this flag since it's used
for TFO which we don't have in socketpairs.
src/proto_sockpair.c