From 6bf72a98ac24b07ffbcfe0097a7c2955689e2e66 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Sun, 15 Jan 2012 21:18:42 +0100 Subject: Remove unused variable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ib8725e89e40d6e12172b1da687da2e4d559444f3 Reviewed-by: Robin Burchell Reviewed-by: João Abecasis --- src/corelib/tools/qcache.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/corelib/tools/qcache.h b/src/corelib/tools/qcache.h index dccef68c1b..fc5b8a0a9f 100644 --- a/src/corelib/tools/qcache.h +++ b/src/corelib/tools/qcache.h @@ -61,7 +61,6 @@ class QCache }; Node *f, *l; QHash hash; - void *unused; // ### Qt5: remove int mx, total; inline void unlink(Node &n) { @@ -123,7 +122,7 @@ private: template inline QCache::QCache(int amaxCost) - : f(0), l(0), unused(0), mx(amaxCost), total(0) {} + : f(0), l(0), mx(amaxCost), total(0) {} template inline void QCache::clear() -- cgit v1.2.3