mirror of
https://github.com/mjl-/mox.git
synced 2025-07-10 07:54:40 +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:
@ -1340,13 +1340,10 @@ func (c *conn) cmdRcpt(p *parser) {
|
||||
for p.space() {
|
||||
// ../rfc/5321:2275
|
||||
key := p.xparamKeyword()
|
||||
K := strings.ToUpper(key)
|
||||
switch K {
|
||||
// K := strings.ToUpper(key)
|
||||
// todo future: DSN, ../rfc/3461, with "NOTIFY"
|
||||
default:
|
||||
// ../rfc/5321:2230
|
||||
xsmtpUserErrorf(smtp.C555UnrecognizedAddrParams, smtp.SeSys3NotSupported3, "unrecognized parameter %q", key)
|
||||
}
|
||||
// ../rfc/5321:2230
|
||||
xsmtpUserErrorf(smtp.C555UnrecognizedAddrParams, smtp.SeSys3NotSupported3, "unrecognized parameter %q", key)
|
||||
}
|
||||
p.xend()
|
||||
|
||||
|
Reference in New Issue
Block a user