build: ineffassign fixes. (#3134)

This commit is contained in:
Karthic Rao
2016-10-31 12:02:46 +05:30
committed by Harshavardhana
parent dd6ecf1193
commit 3e8cb8c937
4 changed files with 11 additions and 4 deletions

View File

@@ -178,7 +178,7 @@ func TestCheckSufficientDisks(t *testing.T) {
}
func TestCheckEndpointsSyntax(t *testing.T) {
testCases := []string{}
var testCases []string
if runtime.GOOS == "windows" {
testCases = []string{
"\\export",