Fix linter warnings
* Remove redundant return (code was never reached) * Remove redundant type information * Rename unused function parameters to "_"
This commit is contained in:
parent
fda424bebc
commit
8b4f2d148c
4 changed files with 8 additions and 9 deletions
commands/msg
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue