From 0aa5a5b1750638dc7d127023e516d1e24ca44317 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Fri, 16 Oct 2020 17:43:04 +0200 Subject: [PATCH] BUILD: listener: avoir a build warning when threads are disabled It's just a __decl_thread() that appeared before the last variable. --- src/listener.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/listener.c b/src/listener.c index 320fc5eb7..85191f50b 100644 --- a/src/listener.c +++ b/src/listener.c @@ -762,8 +762,8 @@ void listener_accept(struct listener *l) */ for (; max_accept; next_conn = next_feconn = next_actconn = 0, max_accept--) { unsigned int count; - __decl_thread(unsigned long mask); int status; + __decl_thread(unsigned long mask); /* pre-increase the number of connections without going too far. * We process the listener, then the proxy, then the process.