From 72c857f0eb923c3126600a5c97bfb30fedd859c1 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 21 Jun 2004 08:51:55 +0000 Subject: [PATCH] * Ugh, nasty Heisenbug due to an uninitialiased variable. The bug only caused a crash if the program was *not* invoked with a high verbosity level. --- src/libstore/normalise.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libstore/normalise.cc b/src/libstore/normalise.cc index f4159f65a1..bf096bde7f 100644 --- a/src/libstore/normalise.cc +++ b/src/libstore/normalise.cc @@ -1441,6 +1441,7 @@ Worker::Worker() /* Debugging: prevent recursive workers. */ if (working) abort(); working = true; + nrChildren = 0; }