From a677f1139ae2ad858fdbd0b906334438e84cf7a8 Mon Sep 17 00:00:00 2001 From: Tobias Klein Date: Sun, 10 Sep 2017 10:41:07 +0200 Subject: [PATCH] removed unnacessary line --- internal/restic/snapshot_policy.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/restic/snapshot_policy.go b/internal/restic/snapshot_policy.go index 448667943..929da93ed 100644 --- a/internal/restic/snapshot_policy.go +++ b/internal/restic/snapshot_policy.go @@ -91,7 +91,6 @@ func ApplyPolicy(list Snapshots, p ExpirePolicy) (keep, remove Snapshots) { } for nr, cur := range list { - nr = nr + 1 var keepSnap bool // Tags are handled specially as they are not counted.