style: removed variable only used once

Signed-off-by: Jesse Simpson <jesse.simpson36@gmail.com>
This commit is contained in:
Jesse Simpson
2024-12-23 15:54:13 -05:00
parent a56daca82b
commit 1357db4db1

View File

@@ -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 {