Remove unnecessary branch

This commit is contained in:
Drew DeVault 2019-06-07 10:19:29 -04:00
parent 32a9da3143
commit 668f7f9e5d
1 changed files with 0 additions and 3 deletions

View File

@ -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})