From 4bc43d2741fa4904e51fc5da71d15b804c556c43 Mon Sep 17 00:00:00 2001 From: Moritz Poldrack Date: Wed, 9 Mar 2022 22:48:00 +0100 Subject: all: fix minor issues found by staticcheck Signed-off-by: Moritz Poldrack --- widgets/aerc.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'widgets/aerc.go') diff --git a/widgets/aerc.go b/widgets/aerc.go index 98bc1b2..8061f38 100644 --- a/widgets/aerc.go +++ b/widgets/aerc.go @@ -598,13 +598,11 @@ func (aerc *Aerc) AddDialog(d ui.DrawableInteractive) { aerc.Invalidate() }) aerc.Invalidate() - return } func (aerc *Aerc) CloseDialog() { aerc.dialog = nil aerc.Invalidate() - return } func (aerc *Aerc) GetPassword(title string, prompt string) (chText chan string, chErr chan error) { @@ -622,7 +620,6 @@ func (aerc *Aerc) GetPassword(title string, prompt string) (chText chan string, } chErr <- nil chText <- pw - return }) aerc.AddDialog(getPasswd) -- cgit v1.2.3