From 0ebfa231d21b255d84cfdb8a618cfe397db6c497 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Tue, 15 Sep 2009 09:41:59 -0700 Subject: 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 --- src/pkg/net/parse.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pkg/net/parse.go') diff --git a/src/pkg/net/parse.go b/src/pkg/net/parse.go index 8b10519d4..ef5f1153a 100644 --- a/src/pkg/net/parse.go +++ b/src/pkg/net/parse.go @@ -46,7 +46,7 @@ func (f *file) readLine() (s string, ok bool) { } if len(f.data) < cap(f.data) { ln := len(f.data); - n, err := io.ReadFull(f.file, f.data[ln:cap(f.data)]); + n, _ := io.ReadFull(f.file, f.data[ln:cap(f.data)]); if n >= 0 { f.data = f.data[0:ln+n]; } -- cgit v1.2.3