From 8c24b1bf2ac5bdb1a1b624b9a80be17f0a4e685b Mon Sep 17 00:00:00 2001 From: Máximo Cuadros Date: Thu, 25 Jan 2018 12:33:51 +0100 Subject: gofmt -s MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Máximo Cuadros --- storage/memory/storage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'storage') diff --git a/storage/memory/storage.go b/storage/memory/storage.go index 0f66f1e..2e32509 100644 --- a/storage/memory/storage.go +++ b/storage/memory/storage.go @@ -165,7 +165,7 @@ func (o *ObjectStorage) Begin() storer.Transaction { } func (o *ObjectStorage) ForEachObjectHash(fun func(plumbing.Hash) error) error { - for h, _ := range o.Objects { + for h := range o.Objects { err := fun(h) if err != nil { if err == storer.ErrStop { -- cgit