mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-28 16:00:37 +01:00
Address Copilot review: remove redundant zero initialization
This commit is contained in:
1 parent
e2b602c486
commit
2f3b225052
1 file changed
+1
-6
@@ -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