Fix linter warnings

* Remove redundant return (code was never reached)
* Remove redundant type information
* Rename unused function parameters to "_"
This commit is contained in:
Reto Brunner 2021-02-26 22:10:26 +01:00
parent fda424bebc
commit 8b4f2d148c
4 changed files with 8 additions and 9 deletions
commands/msg

View file

@ -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 {