Fix a couple of uninitialized data reads.
/* -----------------------------------------------------------------------------
- * $Id: GC.c,v 1.35 1999/02/17 15:04:40 simonm Exp $
+ * $Id: GC.c,v 1.36 1999/02/17 17:35:32 simonm Exp $
*
* (c) The GHC Team 1998-1999
*
loop2:
for (gen = RtsFlags.GcFlags.generations-1; gen >= 0; gen--) {
for (st = generations[gen].n_steps-1; st >= 0 ; st--) {
+ if (gen == 0 && step == 0) {
+ continue;
+ }
step = &generations[gen].steps[st];
evac_gen = gen;
if (step->hp_bd != step->scan_bd || step->scan < step->hp) {
/* -----------------------------------------------------------------------------
- * $Id: Storage.c,v 1.12 1999/02/05 16:03:01 simonm Exp $
+ * $Id: Storage.c,v 1.13 1999/02/17 17:35:31 simonm Exp $
*
* (c) The GHC Team, 1998-1999
*
step->hp = NULL;
step->hpLim = NULL;
step->hp_bd = NULL;
+ step->scan = NULL;
+ step->scan_bd = NULL;
step->large_objects = NULL;
step->new_large_objects = NULL;
step->scavenged_large_objects = NULL;