mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-08-28 20:06:14 +00:00
Address Copilot review: remove redundant zero initialization
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user