summaryrefslogtreecommitdiff
path: root/src/cachemanager.cc
diff options
context:
space:
mode:
authorJonas Suhr Christensen <jsc@umbraculum.org>2015-04-11 16:50:44 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2016-01-20 13:22:44 +0100
commitd8fef655a7b3dd0aa71ce7bb015c27f8731ba514 (patch)
treec58019067a6ad61f17552cdd0556fb29f6b4820a /src/cachemanager.cc
parente298d7b1979bad8893b1ec7ff8775175af983681 (diff)
Fixed compile warnings.
Diffstat (limited to 'src/cachemanager.cc')
-rw-r--r--src/cachemanager.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cachemanager.cc b/src/cachemanager.cc
index ca7fde1..c193db8 100644
--- a/src/cachemanager.cc
+++ b/src/cachemanager.cc
@@ -176,7 +176,7 @@ void CacheManager::loadNext(cacheid_t id)
{
m_caches.lock();
cache_t c = id2cache[id];
- sample_t *tmp;
+ sample_t *tmp = c.front;
c.front = c.back;
c.back = tmp;
id2cache[id] = c;