From: Alexander Melentyev Date: Sat, 11 Sep 2021 06:59:17 +0000 (+0000) Subject: all: remove some unused code X-Git-Tag: go1.18beta1~1363 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=4a4221e8187189adcc6463d2d96fe2e8da290132;p=gostls13.git all: remove some unused code Change-Id: I519b8021fa79dccc5c0ee79134547491116fc4cc GitHub-Last-Rev: 48869f5434c1255d33c3a14714747509235c94df GitHub-Pull-Request: golang/go#48071 Reviewed-on: https://go-review.googlesource.com/c/go/+/346231 Run-TryBot: Ian Lance Taylor TryBot-Result: Go Bot Reviewed-by: Ian Lance Taylor Trust: Keith Randall --- diff --git a/src/database/sql/convert_test.go b/src/database/sql/convert_test.go index 2668a5ed5e..400da7ea57 100644 --- a/src/database/sql/convert_test.go +++ b/src/database/sql/convert_test.go @@ -51,9 +51,6 @@ var ( scanbytes []byte scanraw RawBytes scanint int - scanint8 int8 - scanint16 int16 - scanint32 int32 scanuint8 uint8 scanuint16 uint16 scanbool bool diff --git a/src/time/time.go b/src/time/time.go index 4ecc3d82dc..1919ebbc2c 100644 --- a/src/time/time.go +++ b/src/time/time.go @@ -425,7 +425,6 @@ const ( internalToUnix int64 = -unixToInternal wallToInternal int64 = (1884*365 + 1884/4 - 1884/100 + 1884/400) * secondsPerDay - internalToWall int64 = -wallToInternal ) // IsZero reports whether t represents the zero time instant,