aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--weed/storage/volume_vacuum_test.go1
-rw-r--r--weed/util/fla9/fla9.go1
2 files changed, 0 insertions, 2 deletions
diff --git a/weed/storage/volume_vacuum_test.go b/weed/storage/volume_vacuum_test.go
index 5176bce19..f4f38c097 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 eb5700e8c..8fad9144b 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
}
}
}