diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2004-06-21T08·51+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2004-06-21T08·51+0000 |
commit | 72c857f0eb923c3126600a5c97bfb30fedd859c1 (patch) | |
tree | 15eaabaf5f57d91f180477fd48a6e04b089aa2a0 /src/libstore/normalise.cc | |
parent | be1a917beb4577dd359a5e8ea17ca69dd228e6ae (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/libstore/normalise.cc')
-rw-r--r-- | src/libstore/normalise.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/normalise.cc b/src/libstore/normalise.cc index f4159f65a13e..bf096bde7fce 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; } |