From fce667a9055424d8c408fdb6f54fa512ec19f655 Mon Sep 17 00:00:00 2001 From: Joe Turgeon Date: Sun, 11 Dec 2016 21:02:54 -0600 Subject: [PATCH] Minor code clean up in b2 backend code. --- src/restic/backend/b2/b2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/restic/backend/b2/b2.go b/src/restic/backend/b2/b2.go index d3360c4b2..7bc3b8856 100644 --- a/src/restic/backend/b2/b2.go +++ b/src/restic/backend/b2/b2.go @@ -110,7 +110,7 @@ func (be b2) Load(h restic.Handle, p []byte, off int64) (n int, err error) { defer r.Close() bufsize := int64(len(p)) - var pos int64 = 0 + var pos int64 // loop to read chunks until the buffer is full or EOF is reached for {