]> Cypherpunks repositories - gostls13.git/commit
net/http: remove duplicate declaration of error
authorDai Jie <gzdaijie@163.com>
Fri, 2 Oct 2020 09:09:24 +0000 (09:09 +0000)
committerRob Pike <r@golang.org>
Fri, 2 Oct 2020 12:40:58 +0000 (12:40 +0000)
commit44a15a7262b14d517fefab5b7c13ca97ab099a30
treede838fa955fdeb953791414b69659287be4bdd9b
parent8f1c99035d7797993a5ee393704603f21bb6f10c
net/http: remove duplicate declaration of error

there is no need to declare a error variable here.

Change-Id: I9ea5bcf568d800efed19c90caf751aaf9abe5555
GitHub-Last-Rev: 538d1f9cee0b8564a8bec262529f567da847f1b0
GitHub-Pull-Request: golang/go#41751
Reviewed-on: https://go-review.googlesource.com/c/go/+/259037
Reviewed-by: Rob Pike <r@golang.org>
Trust: Alberto Donizetti <alb.donizetti@gmail.com>
src/net/rpc/client.go