]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: backend: remove useless test for inexistent connection
authorWilly Tarreau <w@1wt.eu>
Thu, 23 Jan 2020 10:36:33 +0000 (11:36 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 23 Jan 2020 10:37:43 +0000 (11:37 +0100)
commitb1a40c72e75134a0d80c25914f2cd8711bbf7b6a
tree4262e04ea4ce2a0b623fa5b08d0851316b6112d4
parent75b15f790f2be0600483476c1505fec0ce898e35
CLEANUP: backend: remove useless test for inexistent connection

Coverity rightfully reported that it's pointless to test for "conn"
to be null while all code paths leading to it have already
dereferenced it. This addresses issue #461.
src/backend.c