]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: listeners: remove unreachable code in clone_listener()
authorWilly Tarreau <w@1wt.eu>
Sat, 16 Oct 2021 12:58:30 +0000 (14:58 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 16 Oct 2021 12:58:30 +0000 (14:58 +0200)
commit6d19f0d837ce66f307bd3d5aa505bd9e068b4d4e
tree6485e04014b398dda3c05451f499e0b7212cbf7b
parent7c4c830d04d53ed31e10a4f849b8ff96034e7690
CLEANUP: listeners: remove unreachable code in clone_listener()

Coverity reported in issue #1416 that label oom3 is not reachable in
function close_listener() added by commit 59a877dfd ("MINOR: listeners:
add clone_listener() to duplicate listeners at boot time"). The code
leading to it was removed during the development of the function, but
not the label itself.
src/listener.c