aboutsummaryrefslogtreecommitdiffstats
path: root/storage/memory
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2018-01-25 12:33:51 +0100
committerMáximo Cuadros <mcuadros@gmail.com>2018-01-25 12:34:27 +0100
commit8c24b1bf2ac5bdb1a1b624b9a80be17f0a4e685b (patch)
tree84f24a02c9ec0ea78c544b5c8d3a5abb6522da5d /storage/memory
parent834cd6f46fa3a3f2b5423f717cc72769e27c915b (diff)
downloadgo-git-8c24b1bf2ac5bdb1a1b624b9a80be17f0a4e685b.tar.gz
gofmt -s
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
Diffstat (limited to 'storage/memory')
-rw-r--r--storage/memory/storage.go2
1 files changed, 1 insertions, 1 deletions
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 {