mirror of
https://github.com/miekg/dns.git
synced 2025-10-10 01:11:06 +02:00
Fix 1.1.1 missing return error
This commit is contained in:
parent
11d592bfa7
commit
6de33f30fe
@ -303,4 +303,5 @@ func (c Class) String() string {
|
|||||||
} else {
|
} else {
|
||||||
return "CLASS" + strconv.Itoa(int(c))
|
return "CLASS" + strconv.Itoa(int(c))
|
||||||
}
|
}
|
||||||
|
panic("dns: not reached")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user