mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-29 00:10:42 +01:00
delete minor unreachable code (#3423)
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
This commit is contained in:
1 parent
33a5225302
commit
b0633716b7
2 files changed
-2
No files matched your search
@@ -99,7 +99,6 @@ func TestCompaction(t *testing.T) {
|
||||
|
||||
if infos[i-1] == nil {
|
||||
t.Fatal("not found file", i)
|
||||
continue
|
||||
}
|
||||
|
||||
if infos[i-1].size == 0 {
|
||||
|
||||
@@ -962,7 +962,6 @@ func (f *FlagSet) findConfigArgInUnresolved() string {
|
||||
|
||||
if strings.HasPrefix(f.args[i], configArg+"=") {
|
||||
return f.args[i][len(configArg)+1:]
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user