[commit: ghc] master: Remove spurious STG_UNUSED annotation (6d7fda5)
git at git.haskell.org
git at git.haskell.org
Sun Apr 10 21:39:46 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/6d7fda5eebbb2f79d19953947ba7da5fb9c96db4/ghc
>---------------------------------------------------------------
commit 6d7fda5eebbb2f79d19953947ba7da5fb9c96db4
Author: Tomas Carnecky <tomas.carnecky at gmail.com>
Date: Sun Apr 10 18:56:35 2016 +0200
Remove spurious STG_UNUSED annotation
Reviewers: austin, bgamari
Reviewed By: bgamari
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D2096
>---------------------------------------------------------------
6d7fda5eebbb2f79d19953947ba7da5fb9c96db4
rts/Task.h | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/rts/Task.h b/rts/Task.h
index 817a99a..37832a3 100644
--- a/rts/Task.h
+++ b/rts/Task.h
@@ -324,11 +324,7 @@ INLINE_HEADER TaskId serialiseTaskId (OSThreadId taskID) {
// Get a serialisable Id for the Task's OS thread
// Needed mainly for logging since the OSThreadId is an opaque type
INLINE_HEADER TaskId
-serialisableTaskId (Task *task
-#if !defined(THREADED_RTS)
- STG_UNUSED
-#endif
- )
+serialisableTaskId (Task *task)
{
#if defined(THREADED_RTS)
return serialiseTaskId(task->id);
More information about the ghc-commits
mailing list