From f6f11400c22d629b9935ec6b04a0ed4d3d8f0193 Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Sat, 7 Mar 2020 00:04:47 +0100 Subject: [PATCH] restic: Remove unused variable value --- internal/restic/backend_find.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/restic/backend_find.go b/internal/restic/backend_find.go index 096ac214c..36b2ba4ca 100644 --- a/internal/restic/backend_find.go +++ b/internal/restic/backend_find.go @@ -67,7 +67,7 @@ func PrefixLength(be Lister, t FileType) (int, error) { } // select prefixes of length l, test if the last one is the same as the current one - id := ID{} + var id ID outer: for l := minPrefixLength; l < len(id); l++ { var last string