Remove unused variable

Change-Id: Ib8725e89e40d6e12172b1da687da2e4d559444f3
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
This commit is contained in:
Lars Knoll 2012-01-15 21:18:42 +01:00 committed by Qt by Nokia
parent 3b973971fb
commit 6bf72a98ac

View File

@ -61,7 +61,6 @@ class QCache
};
Node *f, *l;
QHash<Key, Node> hash;
void *unused; // ### Qt5: remove
int mx, total;
inline void unlink(Node &n) {
@ -123,7 +122,7 @@ private:
template <class Key, class T>
inline QCache<Key, T>::QCache(int amaxCost)
: f(0), l(0), unused(0), mx(amaxCost), total(0) {}
: f(0), l(0), mx(amaxCost), total(0) {}
template <class Key, class T>
inline void QCache<Key,T>::clear()