summaryrefslogtreecommitdiff
path: root/rts/Schedule.c
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2009-08-20 11:05:32 +0000
committerSimon Marlow <marlowsd@gmail.com>2009-08-20 11:05:32 +0000
commitb0758d03f1a00ab0adf57f8157602ef22e8cdd13 (patch)
tree909ce9b52faff3a8605acf62fc85f386733fc95c /rts/Schedule.c
parent2ab5e6cb18accfb2f59d5b0f0f2c5cf33f4adb27 (diff)
downloadhaskell-b0758d03f1a00ab0adf57f8157602ef22e8cdd13.tar.gz
fix warning
Diffstat (limited to 'rts/Schedule.c')
-rw-r--r--rts/Schedule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Schedule.c b/rts/Schedule.c
index 10b4051023..fb63796a9a 100644
--- a/rts/Schedule.c
+++ b/rts/Schedule.c
@@ -240,8 +240,8 @@ schedule (Capability *initialCapability, Task *task)
rtsBool ready_to_gc;
#if defined(THREADED_RTS)
rtsBool first = rtsTrue;
-#endif
rtsBool force_yield = rtsFalse;
+#endif
cap = initialCapability;