From 00355e6e8171aec7d3cfa749a6188034d6fcfe92 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 1 Dec 2019 13:37:51 +0100 Subject: [PATCH] Fix staticcheck --- pkg/models/list.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/models/list.go b/pkg/models/list.go index 5e4b8a1a8..89877f938 100644 --- a/pkg/models/list.go +++ b/pkg/models/list.go @@ -228,10 +228,8 @@ func getRawListsForUser(search string, u *User, page int, perPage int) (lists [] // AddListDetails adds owner user objects and list tasks to all lists in the slice func AddListDetails(lists []*List) (err error) { - var listIDs []int64 var ownerIDs []int64 for _, l := range lists { - listIDs = append(listIDs, l.ID) ownerIDs = append(ownerIDs, l.OwnerID) }