From 1357db4db133a486d69f00072bf23754765e9fbf Mon Sep 17 00:00:00 2001 From: Jesse Simpson Date: Mon, 23 Dec 2024 15:54:13 -0500 Subject: [PATCH] style: removed variable only used once Signed-off-by: Jesse Simpson --- pkg/engine/engine.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/engine/engine.go b/pkg/engine/engine.go index 273560212..156aafcf0 100644 --- a/pkg/engine/engine.go +++ b/pkg/engine/engine.go @@ -419,8 +419,7 @@ func cleanupExecError(filename string, err error) error { } for i, fileLocation := range fileLocations { - t := fileLocation.FilterLocation() - fileLocations[i] = t + fileLocations[i] = fileLocation.FilterLocation() } for i, fileLocation := range fileLocations {