Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

delete minor unreachable code (#3423)

Abirdcflyb0633716b7e1
diff --git a/weed/storage/volume_vacuum_test.go b/weed/storage/volume_vacuum_test.go
index 5176bce195..f4f38c0974 100644
--- a/weed/storage/volume_vacuum_test.go
+++ b/weed/storage/volume_vacuum_test.go
@@ -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 {
diff --git a/weed/util/fla9/fla9.go b/weed/util/fla9/fla9.go
index eb5700e8cb..8fad9144bd 100644
--- a/weed/util/fla9/fla9.go
+++ b/weed/util/fla9/fla9.go
@@ -962,7 +962,6 @@ func (f *FlagSet) findConfigArgInUnresolved() string {
if strings.HasPrefix(f.args[i], configArg+"=") {
return f.args[i][len(configArg)+1:]
- break
}
}
}