goreport card fixes (#4139)

This fixes some inefassign as report by Go report card:
https://goreportcard.com/report/github.com/coredns/coredns

Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
Miek Gieben
2020-09-22 09:22:00 +02:00
committed by GitHub
parent aa82ca62fb
commit 24e668ecf0
3 changed files with 3 additions and 4 deletions

View File

@@ -140,7 +140,6 @@ receive:
if len(rrs) > 0 {
ch <- &dns.Envelope{RR: rrs}
l += len(rrs)
rrs = []dns.RR{}
}
if soa != nil {