]> Cypherpunks.ru repositories - gostls13.git/commit
all: make safe for new vet analyzer
authorRuss Cox <rsc@golang.org>
Mon, 8 May 2023 18:03:02 +0000 (14:03 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 8 May 2023 20:18:40 +0000 (20:18 +0000)
commit91ebed3fd2e0857eec7775835cd6c2a0c0635a03
tree6a358445051c2ea54439ee71b43c75be80344e08
parent4576184b438125966dc761e2384a728f07fb8da8
all: make safe for new vet analyzer

The unused analyzer handles dot imports now, so a few tests
have picked up vet errors. This CL errors like:

context/x_test.go:524:47: result of context.WithValue call not used

Change-Id: I711a62fd7b50381f8ea45ac526bf0c946a171047
Reviewed-on: https://go-review.googlesource.com/c/go/+/493598
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Alan Donovan <adonovan@google.com>
src/context/x_test.go
src/fmt/fmt_test.go