aboutsummaryrefslogtreecommitdiffstats
path: root/commands/msg/delete.go
diff options
context:
space:
mode:
authorReto Brunner <reto@labrat.space>2021-02-26 22:10:26 +0100
committerReto Brunner <reto@labrat.space>2021-02-26 22:14:58 +0100
commit8b4f2d148c8519326f306fd14ba872d7cb3101c6 (patch)
tree278576aa1e034c5cb2c5df9a1579661c3edacfee /commands/msg/delete.go
parentfda424bebc6dedbbcbffe4d330accc70d081b478 (diff)
downloadaerc-8b4f2d148c8519326f306fd14ba872d7cb3101c6.tar.gz
Fix linter warnings
* Remove redundant return (code was never reached) * Remove redundant type information * Rename unused function parameters to "_"
Diffstat (limited to 'commands/msg/delete.go')
-rw-r--r--commands/msg/delete.go1
1 files changed, 0 insertions, 1 deletions
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 {