mirror of
https://github.com/haproxy/haproxy.git
synced 2026-05-19 08:32:34 -04:00
BUILD: fix build without thread
Cyril Bont reported that commit f9cc07c25b broke the build without
thread.
We don't need to initialise tid = 0 in mworker_loop, so we could
completely remove it.
This commit is contained in:
parent
2c096c3b7a
commit
cd5c944ea5
1 changed files with 0 additions and 2 deletions
|
|
@ -867,8 +867,6 @@ static void mworker_loop()
|
|||
mworker_catch_sigchld(NULL); /* ensure we clean the children in case
|
||||
some SIGCHLD were lost */
|
||||
|
||||
tid = 0;
|
||||
|
||||
global.nbthread = 1;
|
||||
relative_pid = 1;
|
||||
pid_bit = 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue