aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2004-06-21 08:51:55 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2004-06-21 08:51:55 +0000
commit72c857f0eb923c3126600a5c97bfb30fedd859c1 (patch)
tree15eaabaf5f57d91f180477fd48a6e04b089aa2a0 /src
parentbe1a917beb4577dd359a5e8ea17ca69dd228e6ae (diff)
* 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.
Diffstat (limited to 'src')
-rw-r--r--src/libstore/normalise.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/normalise.cc b/src/libstore/normalise.cc
index f4159f65a..bf096bde7 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;
}