Remove unused variable

This commit is contained in:
Jonas Kvinge 2021-07-12 13:26:41 +02:00
parent 7a5f047f8e
commit fc45015b13
1 changed files with 0 additions and 2 deletions

View File

@ -1165,11 +1165,9 @@ void Playlist::InsertInternetItems(InternetService *service, const SongList &son
void Playlist::InsertRadioItems(const SongList &songs, const int pos, const bool play_now, const bool enqueue, const bool enqueue_next) {
PlaylistItemList playlist_items;
QList<QUrl> song_urls;
playlist_items.reserve(songs.count());
for (const Song &song : songs) {
playlist_items << std::make_shared<RadioPlaylistItem>(song);
song_urls << song.url();
}
InsertItems(playlist_items, pos, play_now, enqueue, enqueue_next);