mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Stupid C90
This commit is contained in:
parent
a6e144ea72
commit
fe89b65368
|
@ -136,6 +136,7 @@ void dbg_msg_thread(void *v)
|
|||
{
|
||||
char str[1024*4];
|
||||
int i;
|
||||
int num;
|
||||
while(1)
|
||||
{
|
||||
semaphore_wait(&log_queue.notempty);
|
||||
|
@ -156,7 +157,7 @@ void dbg_msg_thread(void *v)
|
|||
if(!queue_empty(&log_queue) || log_queue.skipped > 0)
|
||||
semaphore_signal(&log_queue.notempty);
|
||||
|
||||
int num = num_loggers;
|
||||
num = num_loggers;
|
||||
semaphore_signal(&log_queue.mutex);
|
||||
|
||||
for(i = 0; i < num; i++)
|
||||
|
|
Loading…
Reference in a new issue