mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 12:24:38 +03:00
cleanup for warnings by staticcheck
the warnings that remained were either unused code that i wanted to use in the future, or other type's of todo's. i've been mentally ignoring them, assuming i would get back to them soon enough to fix them. but that hasn't happened yet, and it's better to have a clean list with only actual isses.
This commit is contained in:
@ -310,10 +310,8 @@ func (m *Message) Compose(log *mlog.Log, smtputf8 bool) ([]byte, error) {
|
||||
headers = m.Original
|
||||
} else if err != nil {
|
||||
return nil, err
|
||||
} else {
|
||||
// This is a whole message. We still only include the headers.
|
||||
// todo: include the whole body.
|
||||
}
|
||||
// Else, this is a whole message. We still only include the headers. todo: include the whole body.
|
||||
|
||||
origHdr := textproto.MIMEHeader{}
|
||||
if smtputf8 {
|
||||
|
Reference in New Issue
Block a user