fusefrontend_reverse: Fix redeclaration of 'entries' variable.
Go version go1.10.7 linux/amd64 complains with: internal/fusefrontend_reverse/rfs.go:333: declaration of "entries" shadows declaration at internal/fusefrontend_reverse/rfs.go:327
This commit is contained in:
parent
2024616722
commit
117dc3f2cc
@ -330,7 +330,8 @@ func (rfs *ReverseFS) OpenDir(cipherPath string, context *fuse.Context) ([]fuse.
|
|||||||
return nil, fuse.ToStatus(err)
|
return nil, fuse.ToStatus(err)
|
||||||
}
|
}
|
||||||
if rfs.args.PlaintextNames {
|
if rfs.args.PlaintextNames {
|
||||||
entries, status := rfs.openDirPlaintextnames(cipherPath, entries)
|
var status fuse.Status
|
||||||
|
entries, status = rfs.openDirPlaintextnames(cipherPath, entries)
|
||||||
if !status.Ok() {
|
if !status.Ok() {
|
||||||
return nil, status
|
return nil, status
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user