Commit 40a36f09 authored by simonmar's avatar simonmar

[project @ 2005-01-20 15:06:17 by simonmar]

Squash gcc 3.4.x warnings.
parent 73ef81cb
This diff is collapsed.
......@@ -146,6 +146,9 @@ SUBDIRS += dotnet
LIBOBJS += dotnet/Invoke.o
endif
# Suppress uninitialized variable warnings for GC.c
GC_CC_OPTS += -Wno-uninitialized
#-----------------------------------------------------------------------------
# Include the Front panel code?
......
......@@ -114,7 +114,7 @@ static StgTRecHeader *cached_trec_headers = NO_TREC;
static StgTRecChunk *cached_trec_chunks = END_STM_CHUNK_LIST;
static StgTVarWaitQueue *cached_tvar_wait_queues = END_STM_WAIT_QUEUE;
static void recycle_tvar_wait_queue(StgTVarWaitQueue *q) {
static void recycle_tvar_wait_queue(StgTVarWaitQueue *q STG_UNUSED) {
#if 0
if (shake()) {
TRACE("Shake: not re-using wait queue %p\n", q);
......@@ -126,7 +126,7 @@ static void recycle_tvar_wait_queue(StgTVarWaitQueue *q) {
#endif
}
static void recycle_closures_from_trec (StgTRecHeader *t) {
static void recycle_closures_from_trec (StgTRecHeader *t STG_UNUSED) {
#if 0
if (shake()) {
TRACE("Shake: not re-using closures from %p\n", t);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment