summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2012-03-16 15:23:53 +0000
committerIan Lynagh <igloo@earth.li>2012-03-16 15:23:53 +0000
commit029cd4345a3662f9951d4b3245dc594f24f00b6a (patch)
tree763559a9afddf082c6f24b59a6a753a08c79df8d /rts
parent1f046163171fd064ce1211f41896614cf48a3752 (diff)
downloadhaskell-029cd4345a3662f9951d4b3245dc594f24f00b6a.tar.gz
Remove an unused variable; fixes a warning on Win64
Diffstat (limited to 'rts')
-rw-r--r--rts/win32/AwaitEvent.c4
1 files changed, 1 insertions, 3 deletions
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