]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: peers: remove an unneeded null check
authorWilly Tarreau <w@1wt.eu>
Fri, 14 Nov 2025 12:46:00 +0000 (13:46 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 14 Nov 2025 12:47:20 +0000 (13:47 +0100)
commit6b9c3d06217b34145ea28c05c5395d736b7448f9
tree03f3f03034925848d9d33487fad10f543d186259
parentef206d441cd7d6b08c4f5b28e962b14cf7ddda4f
CLEANUP: peers: remove an unneeded null check

Coverity reported in GH #3181 that a NULL test was useless, in
peers_trace(), which is true since the peer always belongs to a
peers section and it was already dereferenced. Let's just remove
the test to avoid the confusion.
src/peers.c