From 668f7f9e5de7c3d90307353294f057ee25f00708 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 7 Jun 2019 10:19:29 -0400 Subject: Remove unnecessary branch --- widgets/msgviewer.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'widgets') diff --git a/widgets/msgviewer.go b/widgets/msgviewer.go index b82fa8d0..af0880a3 100644 --- a/widgets/msgviewer.go +++ b/widgets/msgviewer.go @@ -158,9 +158,6 @@ func createSwitcher(switcher *PartSwitcher, conf *config.AercConfig, var err error switcher.showHeaders = showHeaders - if showHeaders { - } - if len(msg.BodyStructure.Parts) == 0 { pv, err := NewPartViewer(conf, store, msg, msg.BodyStructure, showHeaders, []int{1}) -- cgit