Commit 23f81674 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

fuse/test: fix a vet issue.

parent a9ddcb8a
...@@ -34,9 +34,8 @@ type xattrChildNode struct { ...@@ -34,9 +34,8 @@ type xattrChildNode struct {
func (n *xattrChildNode) GetXAttr(attr string, context *fuse.Context) ([]byte, fuse.Status) { func (n *xattrChildNode) GetXAttr(attr string, context *fuse.Context) ([]byte, fuse.Status) {
if attr == "attr" { if attr == "attr" {
return []byte("value"), fuse.OK return []byte("value"), fuse.OK
} else {
return []byte(""), fuse.OK
} }
return []byte(""), fuse.OK
} }
func TestDefaultXAttr(t *testing.T) { func TestDefaultXAttr(t *testing.T) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment