Building without threads emits two warnings because the proxy pointer
is no longer used (only serves for the lock) since 2.9 commit
9a74a6cb1
("MAJOR: log: introduce log backends"). No backport is needed.
static void log_backend_srv_up(struct server *srv)
{
- struct proxy *p = srv->proxy;
+ struct proxy *p __maybe_unused = srv->proxy;
if (!srv_lb_status_changed(srv))
return; /* nothing to do */
static void log_backend_srv_down(struct server *srv)
{
- struct proxy *p = srv->proxy;
+ struct proxy *p __maybe_unused = srv->proxy;
if (!srv_lb_status_changed(srv))
return; /* nothing to do */