aboutsummaryrefslogtreecommitdiff
path: root/src/os/exec/exec_test.go
diff options
context:
space:
mode:
authorDaniel Martí <mvdan@mvdan.cc>2019-04-28 23:03:35 +0700
committerDaniel Martí <mvdan@mvdan.cc>2019-04-29 13:31:54 +0000
commita27ede0ba9cd038582ea459f3c0e8419af4a2b88 (patch)
treea10df9d8cda519f7c60408a6fe739ec5027ee575 /src/os/exec/exec_test.go
parent45ed3dbddf98eb421bc3aefd4c29c016a69c9ab1 (diff)
downloadgo-a27ede0ba9cd038582ea459f3c0e8419af4a2b88.tar.xz
all: remove a few unused parameters
I recently modified tabwriter to reduce the number of defers due to flush calls. However, I forgot to notice that the new function flushNoDefers can no longer return an error, due to the lack of the defer. In crypto/tls, hashForServerKeyExchange never returned a non-nil error, so simplify the code. Finally, in go/types and net we can find a few trivially unused parameters, so remove them. Change-Id: I54c8de83fbc944df432453b55c93008d7e810e61 Reviewed-on: https://go-review.googlesource.com/c/go/+/174131 Run-TryBot: Daniel Martí <mvdan@mvdan.cc> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Benny Siegert <bsiegert@gmail.com>
Diffstat (limited to 'src/os/exec/exec_test.go')
0 files changed, 0 insertions, 0 deletions