Browse Source

Address Copilot review: remove redundant zero initialization

fix-pr-7909
Chris Lu 1 month ago
parent
commit
2f3b225052
  1. 7
      weed/shell/command_volume_list.go

7
weed/shell/command_volume_list.go

@ -304,12 +304,7 @@ type statistics struct {
}
func newStatistics() *statistics {
return &statistics{
Size: 0,
FileCount: 0,
DeletedFileCount: 0,
DeletedBytes: 0,
}
return &statistics{}
}
func (s *statistics) add(t statistics) {

Loading…
Cancel
Save