aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReto Brunner <reto@labrat.space>2020-02-29 14:17:26 +0100
committerReto Brunner <reto@labrat.space>2020-02-29 14:17:26 +0100
commit841655a98ec9c570c26ab99c808e763fd33e526c (patch)
tree6499c0e5272402060d3c106b72ce19ba49e6713d
parente661ead57b220ea0cf1d7382307b51563c6fc9c6 (diff)
msg/delete: remove redundant err check
-rw-r--r--commands/msg/delete.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/commands/msg/delete.go b/commands/msg/delete.go
index 8cd782b..3f91a46 100644
--- a/commands/msg/delete.go
+++ b/commands/msg/delete.go
@@ -44,9 +44,6 @@ func (Delete) Execute(aerc *widgets.Aerc, args []string) error {
if err != nil {
return err
}
- if err != nil {
- return err
- }
store.Delete(uids, func(msg types.WorkerMessage) {
switch msg := msg.(type) {
case *types.Done: