diff options
author | Simon Marlow <marlowsd@gmail.com> | 2012-10-22 15:59:06 +0100 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2012-10-23 11:13:30 +0100 |
commit | d81d70ba2335dcc24570cdd98bf0ff258b3bc369 (patch) | |
tree | dfbac8c2320ba5fe75b7c063301570f4d0efc595 /rts/Schedule.c | |
parent | c7942f9722f1f7a361a4dbf47f44c3d0f4c84b00 (diff) | |
download | haskell-d81d70ba2335dcc24570cdd98bf0ff258b3bc369.tar.gz |
fix a warning
Diffstat (limited to 'rts/Schedule.c')
-rw-r--r-- | rts/Schedule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/Schedule.c b/rts/Schedule.c index 8b74a9537b..d44cf72400 100644 --- a/rts/Schedule.c +++ b/rts/Schedule.c @@ -459,11 +459,11 @@ run_thread: // conserve power (see #1623). Re-enable it here. nat prev; prev = xchg((P_)&recent_activity, ACTIVITY_YES); -#ifndef PROFILING if (prev == ACTIVITY_DONE_GC) { +#ifndef PROFILING startTimer(); - } #endif + } break; } case ACTIVITY_INACTIVE: |