]> Cypherpunks.ru repositories - gostls13.git/commitdiff
all: remove some unused code
authorAlexander Melentyev <alexander@melentyev.org>
Sat, 11 Sep 2021 06:59:17 +0000 (06:59 +0000)
committerIan Lance Taylor <iant@golang.org>
Tue, 14 Sep 2021 00:49:39 +0000 (00:49 +0000)
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>

src/database/sql/convert_test.go
src/time/time.go

index 2668a5ed5e76b15313142ac6a6df2e8a76e1123e..400da7ea577231b455c42167c7e225a2b34e026c 100644 (file)
@@ -51,9 +51,6 @@ var (
        scanbytes  []byte
        scanraw    RawBytes
        scanint    int
-       scanint8   int8
-       scanint16  int16
-       scanint32  int32
        scanuint8  uint8
        scanuint16 uint16
        scanbool   bool
index 4ecc3d82dcc95895742e6219c95503c994722c0f..1919ebbc2c31f23f80df48aee40c53afbf50c3c6 100644 (file)
@@ -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,