clean up: ineffassign fixes (#2411)

This commit is contained in:
karthic rao
2016-08-12 12:56:30 +05:30
committed by Harshavardhana
parent ef0a108dde
commit 70fd38818e
7 changed files with 19 additions and 11 deletions
+1 -1
View File
@@ -336,7 +336,7 @@ func TestListDir(t *testing.T) {
t.Error(err)
}
// None of the disks are available, should get errDiskNotFound.
entries, _, err = listDir(volume, "", "")
_, _, err = listDir(volume, "", "")
if err != errDiskNotFound {
t.Error("expected errDiskNotFound error.")
}