projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix and supress some warnings, and turn on -Werror when validating
[ghc-hetmet.git]
/
rts
/
Schedule.c
diff --git
a/rts/Schedule.c
b/rts/Schedule.c
index
afd8c28
..
8bd4241
100644
(file)
--- a/
rts/Schedule.c
+++ b/
rts/Schedule.c
@@
-2577,7
+2577,12
@@
initScheduler(void)
}
void
-exitScheduler( rtsBool wait_foreign )
+exitScheduler(
+ rtsBool wait_foreign
+#if !defined(THREADED_RTS)
+ __attribute__((unused))
+#endif
+)
/* see Capability.c, shutdownCapability() */
{
Task *task = NULL;