Fix errors discovered with go vet nilness tool

This commit is contained in:
Nick Craig-Wood
2019-03-18 11:23:00 +00:00
parent 2728948fb0
commit 0d475958c7
3 changed files with 3 additions and 11 deletions

View File

@@ -287,9 +287,6 @@ func (f *Fs) purgeCheck(dir string, check bool) error {
return err
}
f.dirCache.FlushDir(dir)
if err != nil {
return err
}
return nil
}