summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qcache.h
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2009-09-02 09:14:18 (GMT)
committerMarkus Goetz <Markus.Goetz@nokia.com>2009-09-02 10:06:34 (GMT)
commit456feb3c8ecbf5d2349a747f19e742052ecd9762 (patch)
tree21861c5cb47474d0ef9c7ce73fb4826684fc268c /src/corelib/tools/qcache.h
parentc4bc2e09e06c4b3ecca1efccd3c3272e8410d4f9 (diff)
downloadQt-456feb3c8ecbf5d2349a747f19e742052ecd9762.zip
Qt-456feb3c8ecbf5d2349a747f19e742052ecd9762.tar.gz
Qt-456feb3c8ecbf5d2349a747f19e742052ecd9762.tar.bz2
QCache: Variable initialization was missing
Diffstat (limited to 'src/corelib/tools/qcache.h')
-rw-r--r--src/corelib/tools/qcache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qcache.h b/src/corelib/tools/qcache.h
index b369e53..8621908 100644
--- a/src/corelib/tools/qcache.h
+++ b/src/corelib/tools/qcache.h
@@ -131,7 +131,7 @@ private:
template <class Key, class T>
inline QCache<Key, T>::QCache(int amaxCost)
- : f(0), l(0), mx(amaxCost), total(0) {}
+ : f(0), l(0), unused(0), mx(amaxCost), total(0) {}
template <class Key, class T>
inline void QCache<Key,T>::clear()