diff --git a/example_test.go b/example_test.go index c03fcdd2..002f507d 100644 --- a/example_test.go +++ b/example_test.go @@ -24,6 +24,6 @@ func Example_fileReader() { ) r := t.NewReader() defer r.Close() - fr := io.NewSectionReader(r, f.Offset(), f.Length()) + _ = io.NewSectionReader(r, f.Offset(), f.Length()) // fr will read from the parts of the torrent pertaining to f. }