From cf9497637ce172a0a2d5e8c9ba238486ee34b989 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Otto=20Kr=C3=B6pke?= Date: Mon, 5 Aug 2024 18:41:52 +0200 Subject: [PATCH] test: remove unused var --- internal/provider/tar_archiver_test.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/internal/provider/tar_archiver_test.go b/internal/provider/tar_archiver_test.go index d22bd5c1..66680972 100644 --- a/internal/provider/tar_archiver_test.go +++ b/internal/provider/tar_archiver_test.go @@ -398,7 +398,6 @@ func ensureTarFileMode(t *testing.T, tarfilepath string, outputFileMode string) var osfilemode = os.FileMode(filemode) - i := 0 for { header, err := tarReader.Next() @@ -427,7 +426,5 @@ func ensureTarFileMode(t *testing.T, tarfilepath string, outputFileMode string) name, ) } - - i++ } }