summaryrefslogtreecommitdiff
path: root/libgo/go/fmt/print.go
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2017-09-14 17:11:35 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2017-09-14 17:11:35 +0000
commite104cab8d4ab9422a0ca55bb24c00c9fea9a5d4d (patch)
tree8d262a22ca7318f4bcd64269fe8fe9e45bcf8d0f /libgo/go/fmt/print.go
parent4a85c0b16ef3722655012f596b7e3e7e272eeb56 (diff)
downloadgcc-e104cab8d4ab9422a0ca55bb24c00c9fea9a5d4d.tar.gz
libgo: update to go1.9
Reviewed-on: https://go-review.googlesource.com/63753 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@252767 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/go/fmt/print.go')
-rw-r--r--libgo/go/fmt/print.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/libgo/go/fmt/print.go b/libgo/go/fmt/print.go
index a7ef2e5ac21..2bd88f95a2b 100644
--- a/libgo/go/fmt/print.go
+++ b/libgo/go/fmt/print.go
@@ -684,8 +684,6 @@ func (p *pp) printArg(arg interface{}, verb rune) {
}
}
-var byteType = reflect.TypeOf(byte(0))
-
// printValue is similar to printArg but starts with a reflect value, not an interface{} value.
// It does not handle 'p' and 'T' verbs because these should have been already handled by printArg.
func (p *pp) printValue(value reflect.Value, verb rune, depth int) {