]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: peers: Remove unused variables
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 18 Nov 2022 15:40:51 +0000 (16:40 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 18 Nov 2022 15:40:56 +0000 (16:40 +0100)
commit4cfdcbbd19071cbf74339a7d26839ca98952b2c7
treee9a05a283fde7dd2b95bd68a8fc167fefa062c4b
parent5534334f1f4c0fa879415a116e707ed80bf74169
BUILD: peers: Remove unused variables

Since 0909f62266 ("BUG/MEDIUM: peers: messages about unkown tables not
correctly ignored"), the 'sc' variable is no longer used in
peer_treat_updatemsg() and peer_treat_definemsg() functions. So, we must
remove them to avoid compilation warning.

This patch must be backported with the commit above.
src/peers.c