mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-07 09:54:55 +00:00
Fixed a compile warning in PlaybackService.cpp.
This commit is contained in:
parent
4c86164f80
commit
896f8459df
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user