msg/delete: remove redundant err check

This commit is contained in:
Reto Brunner 2020-02-29 14:17:26 +01:00
parent e661ead57b
commit 841655a98e
1 changed files with 0 additions and 3 deletions

View File

@ -44,9 +44,6 @@ func (Delete) Execute(aerc *widgets.Aerc, args []string) error {
if err != nil { if err != nil {
return err return err
} }
if err != nil {
return err
}
store.Delete(uids, func(msg types.WorkerMessage) { store.Delete(uids, func(msg types.WorkerMessage) {
switch msg := msg.(type) { switch msg := msg.(type) {
case *types.Done: case *types.Done: