all: fix minor issues found by staticcheck

Signed-off-by: Moritz Poldrack <git@moritz.sh>
This commit is contained in:
Moritz Poldrack 2022-03-09 22:48:00 +01:00 committed by Robin Jarry
parent 65ae87a524
commit 4bc43d2741
11 changed files with 17 additions and 27 deletions
widgets

View file

@ -876,7 +876,6 @@ func (he *headerEditor) storeValue() {
// fix the issue
he.header.SetText(he.name, val)
}
val = format.FormatAddresses(list)
default:
he.header.SetText(he.name, val)
}