diff options
author | Russ Cox <rsc@golang.org> | 2009-09-15 09:41:59 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-09-15 09:41:59 -0700 |
commit | 0ebfa231d21b255d84cfdb8a618cfe397db6c497 (patch) | |
tree | 46eac6aefe26f0b9056bff646d960bcba3d076cf /src/pkg/http/client_test.go | |
parent | c67478eb2cfefebf09d0c648efa24bb9578078ba (diff) | |
download | golang-0ebfa231d21b255d84cfdb8a618cfe397db6c497.tar.gz |
more "declared and not used".
the last round omitted := range and only
checked 1 out of N vars in a multi-var :=
R=r
OCL=34624
CL=34638
Diffstat (limited to 'src/pkg/http/client_test.go')
-rw-r--r-- | src/pkg/http/client_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/http/client_test.go b/src/pkg/http/client_test.go index 69938f030..32f2c17b2 100644 --- a/src/pkg/http/client_test.go +++ b/src/pkg/http/client_test.go @@ -17,7 +17,7 @@ func TestClient(t *testing.T) { // TODO: add a proper test suite. Current test merely verifies that // we can retrieve the Google robots.txt file. - r, url, err := Get("http://www.google.com/robots.txt"); + r, _, err := Get("http://www.google.com/robots.txt"); var b []byte; if err == nil { b, err = io.ReadAll(r.Body); |