aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Melentyev <alexander@melentyev.org>2021-09-11 06:59:17 +0000
committerIan Lance Taylor <iant@golang.org>2021-09-14 00:49:39 +0000
commit4a4221e8187189adcc6463d2d96fe2e8da290132 (patch)
tree43fd3ff5b67cd0673ce0728a0056768143a08d74
parent71adc658deddc46a30bf690d37716d16cfccced7 (diff)
downloadgo-4a4221e8187189adcc6463d2d96fe2e8da290132.tar.gz
go-4a4221e8187189adcc6463d2d96fe2e8da290132.zip
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 <iant@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Keith Randall <khr@golang.org>
-rw-r--r--src/database/sql/convert_test.go3
-rw-r--r--src/time/time.go1
2 files changed, 0 insertions, 4 deletions
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,