mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-27 12:49:41 +08:00
delete minor unreachable code (#3423)
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
This commit is contained in:
parent
33a5225302
commit
b0633716b7
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user