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