make compilation a little less noisy
authorSimon Marlow <simonmar@microsoft.com>
Fri, 16 Jun 2006 14:06:52 +0000 (14:06 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Fri, 16 Jun 2006 14:06:52 +0000 (14:06 +0000)
rts/Task.c

index 8779e29..c8cd9c4 100644 (file)
@@ -189,7 +189,7 @@ discardTask (Task *task)
 {
     ASSERT_LOCK_HELD(&sched_mutex);
     if (!task->stopped) {
-       debugTrace(DEBUG_sched, "discarding task %p", TASK_ID(task));
+       debugTrace(DEBUG_sched, "discarding task %ld", TASK_ID(task));
        task->cap = NULL;
        task->tso = NULL;
        task->stopped = rtsTrue;
@@ -240,7 +240,7 @@ workerTaskStop (Task *task)
 void
 resetTaskManagerAfterFork (void)
 {
-#warning TODO!
+    // TODO!
     taskCount = 0;
 }