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:
William Lallemand 2018-09-12 11:57:19 +02:00 committed by Willy Tarreau
parent 2c096c3b7a
commit cd5c944ea5

View File

@ -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;