summaryrefslogtreecommitdiff
path: root/rts/sm
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2010-06-04 20:59:33 +0000
committerSimon Marlow <marlowsd@gmail.com>2010-06-04 20:59:33 +0000
commit81090f01f17719f7c01072e2fea8d41062a3015e (patch)
treebc0371441a6d11de02bc7ebf6761bf24f1403da6 /rts/sm
parent187b2ab71446eef91b1b5552f6202f3ee8ed2137 (diff)
downloadhaskell-81090f01f17719f7c01072e2fea8d41062a3015e.tar.gz
fix warning
Diffstat (limited to 'rts/sm')
-rw-r--r--rts/sm/Storage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/sm/Storage.c b/rts/sm/Storage.c
index 2e43bffdfc..c9422e60b7 100644
--- a/rts/sm/Storage.c
+++ b/rts/sm/Storage.c
@@ -331,7 +331,7 @@ newDynCAF (StgRegTable *reg STG_UNUSED, StgClosure *caf)
static bdescr *
allocNursery (bdescr *tail, nat blocks)
{
- bdescr *bd;
+ bdescr *bd = NULL;
nat i, n;
// We allocate the nursery as a single contiguous block and then