diff options
author | Reto Brunner <reto@labrat.space> | 2020-02-29 14:17:26 +0100 |
---|---|---|
committer | Reto Brunner <reto@labrat.space> | 2020-02-29 14:17:26 +0100 |
commit | 841655a98ec9c570c26ab99c808e763fd33e526c (patch) | |
tree | 6499c0e5272402060d3c106b72ce19ba49e6713d | |
parent | e661ead57b220ea0cf1d7382307b51563c6fc9c6 (diff) | |
download | aerc-841655a98ec9c570c26ab99c808e763fd33e526c.tar.gz |
msg/delete: remove redundant err check
-rw-r--r-- | commands/msg/delete.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/commands/msg/delete.go b/commands/msg/delete.go index 8cd782bf..3f91a468 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: |