From 896f8459dfe3b0c3db0c387a36608f9c25bfe561 Mon Sep 17 00:00:00 2001 From: Casey Langen Date: Sat, 3 Dec 2016 15:12:08 -0800 Subject: [PATCH] Fixed a compile warning in PlaybackService.cpp. --- src/musikbox/app/service/PlaybackService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/musikbox/app/service/PlaybackService.cpp b/src/musikbox/app/service/PlaybackService.cpp index c2b18e913..971602fd5 100755 --- a/src/musikbox/app/service/PlaybackService.cpp +++ b/src/musikbox/app/service/PlaybackService.cpp @@ -466,7 +466,7 @@ IRetainedTrack* PlaybackService::GetTrack(size_t index) { const size_t count = this->playlist.Count(); - if (count && index >= 0 && index < this->playlist.Count()) { + if (count && index < this->playlist.Count()) { return new RetainedTrack(this->playlist.Get(index)); }