refactor: remove dead code

This commit is contained in:
James Houlahan
2020-08-14 15:31:16 +02:00
parent 9821b5bbc2
commit 9ba08e5edb
4 changed files with 13 additions and 64 deletions

View File

@ -97,3 +97,13 @@ func selectDecoderFromParams(params map[string]string) *encoding.Decoder {
return decoder
}
func (p *Part) is7BitClean() bool {
for _, b := range p.Body {
if b > 1<<7 {
return false
}
}
return true
}