mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
reflect: fix vet warnings
Updated #11041 Change-Id: I4a110ba8fefb367a1049b4a65dd20c39eb890ea2 Reviewed-on: https://go-review.googlesource.com/23080 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
5bd37b8e78
commit
a71584975d
2 changed files with 4 additions and 5 deletions
|
|
@ -2758,7 +2758,6 @@ func typeptrdata(t *rtype) uintptr {
|
|||
default:
|
||||
panic("reflect.typeptrdata: unexpected type, " + t.String())
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// See cmd/compile/internal/gc/reflect.go for derivation of constant.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue