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(-) diff --git a/widgets/msgviewer.go b/widgets/msgviewer.go index b82fa8d..af0880a 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 v1.2.3