From 8d8727c7c93786871b2d3bcca16f4a6e918af34f Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Sat, 30 Jan 2021 12:31:23 +1100 Subject: [PATCH] removed unused variable --- app/node/output/track/tracklist.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/node/output/track/tracklist.cpp b/app/node/output/track/tracklist.cpp index 48792fbf8..dd082966e 100644 --- a/app/node/output/track/tracklist.cpp +++ b/app/node/output/track/tracklist.cpp @@ -60,13 +60,11 @@ void TrackList::TrackConnected(Node *node, int element) // Determine where in the cache this block will be int cache_index = -1; - Track* next = nullptr; for (int i=element+1; iArraySize(); i++) { // Find next track because this will be the index we insert at cache_index = GetCacheIndexFromArrayIndex(i); if (cache_index >= 0) { - next = track_cache_.at(cache_index); break; } }