about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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: