]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: peers: fix build warning about unused variable
authorWilly Tarreau <w@1wt.eu>
Fri, 15 Jan 2021 16:08:38 +0000 (17:08 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 15 Jan 2021 16:08:38 +0000 (17:08 +0100)
commit81d7092dbd25db04cc72d2dca77647d548342256
tree44d95365df25a80903d0b2b7a83c8e1e5f872cb3
parent6554742b15880bc19e41f89761905baed33bc398
BUILD: peers: fix build warning about unused variable

Previous commit da2b0844f ("MINOR: peers: Add traces for peer control
messages.") introduced a build warning on some compiler versions after
the removal of variable "peers" in peer_send_msgs() because variable
"s" was used only to assign this one, and variable "si" to assign "s".
Let's remove both to fix the warning. No backport is needed.
src/peers.c