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
1 changed files with 1 additions and 1 deletions

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.
func (s Server) Count(t backend.Type) (n int) {
for range s.List(t, nil) {
for _ = range s.List(t, nil) {
n++
}