Remove unnecessary branch
This commit is contained in:
parent
32a9da3143
commit
668f7f9e5d
|
@ -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})
|
||||
|
|
Loading…
Reference in New Issue