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 var err error
switcher.showHeaders = showHeaders switcher.showHeaders = showHeaders
if showHeaders {
}
if len(msg.BodyStructure.Parts) == 0 { if len(msg.BodyStructure.Parts) == 0 {
pv, err := NewPartViewer(conf, store, msg, msg.BodyStructure, pv, err := NewPartViewer(conf, store, msg, msg.BodyStructure,
showHeaders, []int{1}) showHeaders, []int{1})