From 8b4f2d148c8519326f306fd14ba872d7cb3101c6 Mon Sep 17 00:00:00 2001 From: Reto Brunner Date: Fri, 26 Feb 2021 22:10:26 +0100 Subject: Fix linter warnings * Remove redundant return (code was never reached) * Remove redundant type information * Rename unused function parameters to "_" --- commands/msg/delete.go | 1 - 1 file changed, 1 deletion(-) (limited to 'commands/msg/delete.go') diff --git a/commands/msg/delete.go b/commands/msg/delete.go index baa5011f..677a666d 100644 --- a/commands/msg/delete.go +++ b/commands/msg/delete.go @@ -97,7 +97,6 @@ func findNextNonDeleted(deleted []uint32, store *lib.MessageStore) *models.Messa } return next } - return nil // Never reached } func contains(uids []uint32, uid uint32) bool { -- cgit