Browse Source
delete minor unreachable code (#3423)
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
pull/3442/head
Abirdcfly
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
0 additions and
2 deletions
-
weed/storage/volume_vacuum_test.go
-
weed/util/fla9/fla9.go
|
@ -99,7 +99,6 @@ func TestCompaction(t *testing.T) { |
|
|
|
|
|
|
|
|
if infos[i-1] == nil { |
|
|
if infos[i-1] == nil { |
|
|
t.Fatal("not found file", i) |
|
|
t.Fatal("not found file", i) |
|
|
continue |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if infos[i-1].size == 0 { |
|
|
if infos[i-1].size == 0 { |
|
|
|
@ -962,7 +962,6 @@ func (f *FlagSet) findConfigArgInUnresolved() string { |
|
|
|
|
|
|
|
|
if strings.HasPrefix(f.args[i], configArg+"=") { |
|
|
if strings.HasPrefix(f.args[i], configArg+"=") { |
|
|
return f.args[i][len(configArg)+1:] |
|
|
return f.args[i][len(configArg)+1:] |
|
|
break |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|