diff options
| author | Abirdcfly <fp544037857@gmail.com> | 2022-08-09 16:24:43 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-09 01:24:43 -0700 |
| commit | b0633716b7e1fffae902cce001b87bce8521032c (patch) | |
| tree | 7e14985c3f93e5b2f78e6a17cb8bc6dd2e5b898a | |
| parent | 33a5225302e7ac75808007e9d1653c36792719be (diff) | |
| download | seaweedfs-b0633716b7e1fffae902cce001b87bce8521032c.tar.xz seaweedfs-b0633716b7e1fffae902cce001b87bce8521032c.zip | |
delete minor unreachable code (#3423)
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
| -rw-r--r-- | weed/storage/volume_vacuum_test.go | 1 | ||||
| -rw-r--r-- | weed/util/fla9/fla9.go | 1 |
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 } } } |
