changeset 252:218605f94073

* fix uninitialised variable
author Chris Cannam
date Tue, 20 Mar 2007 16:12:55 +0000
parents db0dd744fa8d
children b36895bda652
files base/Scavenger.h
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/base/Scavenger.h	Tue Mar 20 11:49:11 2007 +0000
+++ b/base/Scavenger.h	Tue Mar 20 16:12:55 2007 +0000
@@ -97,6 +97,7 @@
 Scavenger<T>::Scavenger(int sec, int defaultObjectListSize) :
     m_objects(ObjectTimeList(defaultObjectListSize)),
     m_sec(sec),
+    m_lastExcess(0),
     m_claimed(0),
     m_scavenged(0)
 {