From 79455cc71e8156b031c8cdd0271bdccc96fc6e60 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Mon, 22 Jun 2020 14:40:46 +0100 Subject: [PATCH] vfs: downloaders: remove unused osPath --- vfs/vfscache/downloader.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/vfs/vfscache/downloader.go b/vfs/vfscache/downloader.go index 7861f9e34..6294e1465 100644 --- a/vfs/vfscache/downloader.go +++ b/vfs/vfscache/downloader.go @@ -37,7 +37,6 @@ type downloaders struct { src fs.Object // source object remote string fcache fs.Fs // destination Fs - osPath string wg sync.WaitGroup // Read write @@ -87,7 +86,6 @@ func newDownloaders(item *Item, fcache fs.Fs, remote string, src fs.Object) (dls src: src, remote: remote, fcache: fcache, - osPath: item.c.toOSPath(remote), } dls.wg.Add(1) go func() {