2
2
mirror of https://github.com/octoleo/restic.git synced 2024-05-30 15:40:50 +00:00

Fix compatibility with Go < 1.5

This commit is contained in:
Alexander Neumann 2015-10-27 23:06:56 +01:00
parent 23aeca85ff
commit 5a45d95b80

View File

@ -1384,8 +1384,7 @@ func BenchmarkDelayedWalkTree(t *testing.B) {
treeJobs := make(chan restic.WalkTreeJob)
go restic.WalkTree(dr, root, nil, treeJobs)
for range treeJobs {
// fmt.Printf("job: %v\n", job)
for _ = range treeJobs {
}
}
})