Address Copilot review: remove redundant zero initialization

This commit is contained in:
Chris Lu
2025-12-30 17:14:52 -08:00
parent e2b602c486
commit 2f3b225052
+1 -6
View File
@@ -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) {