From 029cd4345a3662f9951d4b3245dc594f24f00b6a Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Fri, 16 Mar 2012 15:23:53 +0000 Subject: Remove an unused variable; fixes a warning on Win64 --- rts/win32/AwaitEvent.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'rts') diff --git a/rts/win32/AwaitEvent.c b/rts/win32/AwaitEvent.c index 1b92c4386f..af9c658e02 100644 --- a/rts/win32/AwaitEvent.c +++ b/rts/win32/AwaitEvent.c @@ -27,13 +27,11 @@ static nat workerWaitingForRequests = 0; void awaitEvent(rtsBool wait) { - int ret; - do { /* Try to de-queue completed IO requests */ workerWaitingForRequests = 1; - ret = awaitRequests(wait); + awaitRequests(wait); workerWaitingForRequests = 0; // If a signal was raised, we need to service it -- cgit v1.2.1