vfs: downloaders: remove unused osPath

This commit is contained in:
Nick Craig-Wood 2020-06-22 14:40:46 +01:00
parent 042e5fe097
commit 79455cc71e

View File

@ -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() {