Fixed a compile warning in PlaybackService.cpp.

This commit is contained in:
Casey Langen 2016-12-03 15:12:08 -08:00
parent 4c86164f80
commit 896f8459df

View File

@ -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));
}