delete buf

buf(bytes.Buffer) is actually unused.
This commit is contained in:
naoyukis 2021-11-23 19:56:19 +09:00
parent a1c5ae5871
commit 699629e78c

View File

@ -42,7 +42,6 @@ loop:
continue
}
var buf bytes.Buffer
for {
c, err := er.ReadByte()
if err != nil {
@ -51,7 +50,6 @@ loop:
if ('a' <= c && c <= 'z') || ('A' <= c && c <= 'Z') || c == '@' {
break
}
buf.Write([]byte(string(c)))
}
}