1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-27 10:17:58 +00:00

Go1.3: Fix range over channel

This commit is contained in:
Alexander Neumann 2015-03-28 15:52:15 +01:00
parent 2c136381c2
commit 1954680c9e

View file

@ -371,7 +371,7 @@ func (s Server) Stats() (ServerStats, error) {
// Count returns the number of blobs of a given type in the backend. // Count returns the number of blobs of a given type in the backend.
func (s Server) Count(t backend.Type) (n int) { func (s Server) Count(t backend.Type) (n int) {
for range s.List(t, nil) { for _ = range s.List(t, nil) {
n++ n++
} }