]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: backend: Remove useless test on server's xprt
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 15 Dec 2025 06:56:52 +0000 (07:56 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 15 Dec 2025 06:56:53 +0000 (07:56 +0100)
commit5c5914c32edeeb2bc91e9ea61124b3089886239c
tree8dc75bef66579aafa1671d4a0e2c526896f25728
parenta08bc468d2c7c4bb7df84c2408d48a82f01220a0
CLEANUP: backend: Remove useless test on server's xprt

The server's xprt is always defined and cannot be NULL. So there is no
reason to test it. It could lead to wrong assumptions later in the code.

This patch should fix a Coverity report from #3213.
src/backend.c