From 63b5191ea79fbc72d10f2b93905c872cf690350a Mon Sep 17 00:00:00 2001 From: Deluan Date: Tue, 26 Oct 2021 10:57:59 -0400 Subject: [PATCH] Fix lint --- core/playlists.go | 1 - 1 file changed, 1 deletion(-) diff --git a/core/playlists.go b/core/playlists.go index cf5a54a9b..c31ea32cc 100644 --- a/core/playlists.go +++ b/core/playlists.go @@ -189,7 +189,6 @@ func scanLines(data []byte, atEOF bool) (advance int, token []byte, err error) { func (s *playlists) Update(ctx context.Context, playlistId string, name *string, comment *string, public *bool, idsToAdd []string, idxToRemove []int) error { - needsInfoUpdate := name != nil || comment != nil || public != nil needsTrackRefresh := len(idxToRemove) > 0