fix warning
authorSimon Marlow <marlowsd@gmail.com>
Fri, 4 Jun 2010 20:59:33 +0000 (20:59 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Fri, 4 Jun 2010 20:59:33 +0000 (20:59 +0000)
rts/sm/Storage.c

index 2e43bff..c9422e6 100644 (file)
@@ -331,7 +331,7 @@ newDynCAF (StgRegTable *reg STG_UNUSED, StgClosure *caf)
 static bdescr *
 allocNursery (bdescr *tail, nat blocks)
 {
 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
     nat i, n;
 
     // We allocate the nursery as a single contiguous block and then