Remove unnecessary branch

This commit is contained in:
Drew DeVault 2019-06-07 10:19:29 -04:00
parent 32a9da3143
commit 668f7f9e5d

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