From 0d39a99518c74015714a63bf155448ec22a73e50 Mon Sep 17 00:00:00 2001 From: Mike Barry Date: Fri, 9 Feb 2024 07:08:35 -0500 Subject: [PATCH] cleanup warning --- pmtiles/bucket.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmtiles/bucket.go b/pmtiles/bucket.go index a432d56..a8cc269 100644 --- a/pmtiles/bucket.go +++ b/pmtiles/bucket.go @@ -77,7 +77,7 @@ func (b FileBucket) NewRangeReader(ctx context.Context, key string, offset, leng return body, err } -func (b FileBucket) NewRangeReaderEtag(ctx context.Context, key string, offset, length int64, etag string) (io.ReadCloser, string, error) { +func (b FileBucket) NewRangeReaderEtag(_ context.Context, key string, offset, length int64, etag string) (io.ReadCloser, string, error) { name := filepath.Join(b.path, key) file, err := os.Open(name) defer file.Close()