Remove unnecessary type conversions, second set.

This commit is contained in:
Martin Smith committed 2025-03-22 18:20:30 +00:00
1 parent 092899df8b
commit 29b4680873
3 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -104,7 +104,7 @@ func runRepairSnapshots(ctx context.Context, gopts GlobalOptions, opts RepairOpt
}
ok := true
var newContent restic.IDs = restic.IDs{}
var newContent = restic.IDs{}
var newSize uint64
// check all contents and remove if not available
for _, id := range node.Content {