From 4b5289223d77bc0b62efad442736af7b2dc73667 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Thu, 31 Mar 2022 18:14:20 +0400 Subject: [PATCH] Remove whitespace in IcecastLastPlayedSongs. --- internal/radio/icecast.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/radio/icecast.go b/internal/radio/icecast.go index 018674f..81dfe57 100644 --- a/internal/radio/icecast.go +++ b/internal/radio/icecast.go @@ -65,7 +65,6 @@ func IcecastGetStatus(icecastURL string) (*IcecastStatus, error) { } func IcecastLastPlayedSongs(lastNSongs int, playlistPath string) ([]Song, error) { - if lpcLen := len(lastPlayedCache); lpcLen > 0 { if lastNSongs > lpcLen { lastNSongs = lpcLen