diff options
author | Martin Möhrmann <moehrmann@google.com> | 2017-02-19 10:42:34 +0100 |
---|---|---|
committer | Martin Möhrmann <moehrmann@google.com> | 2017-02-19 18:50:46 +0000 |
commit | d9a19f86fb5297aee62242ad14b6a69d2c990a79 (patch) | |
tree | 3f94ae0055dacbc5376857cf8362f4a5b25685a7 /src/fmt/print.go | |
parent | cfb0d349921a8f1ce3af8eb56188fc020d8828e5 (diff) | |
download | go-git-d9a19f86fb5297aee62242ad14b6a69d2c990a79.tar.gz |
fmt: remove unused global variable byteType
Change list https://golang.org/cl/20686/ removed the last use
of the variable byteType.
Change-Id: I4ea79095136a49a9d22767b37f48f3404da05056
Reviewed-on: https://go-review.googlesource.com/37197
Run-TryBot: Martin Möhrmann <moehrmann@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/fmt/print.go')
-rw-r--r-- | src/fmt/print.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/fmt/print.go b/src/fmt/print.go index a7ef2e5ac2..2bd88f95a2 100644 --- a/src/fmt/print.go +++ b/src/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) { |