aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/w32proc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/w32proc.c b/src/w32proc.c
index b0881c25d6c..4c20ca13379 100644
--- a/src/w32proc.c
+++ b/src/w32proc.c
@@ -361,10 +361,8 @@ timer_loop (LPVOID arg)
361 DWORD result = SuspendThread (itimer->caller_thread); 361 DWORD result = SuspendThread (itimer->caller_thread);
362 362
363 if (result == (DWORD)-1) 363 if (result == (DWORD)-1)
364 { 364 return 2;
365 DebPrint (("Thread %d exiting with status 2\n", which)); 365
366 return 2;
367 }
368 handler (sig); 366 handler (sig);
369 ResumeThread (itimer->caller_thread); 367 ResumeThread (itimer->caller_thread);
370 } 368 }