aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/runtest/run.go
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2025-02-14 19:01:57 +0100
committerTaras Madan <tarasmadan@google.com>2025-02-17 08:18:57 +0000
commit4121cf9df313ee111c01fde1f255d010c8d941cd (patch)
treedcd0d104c8c35997103297dfb7dc1f0de6b77b8e /pkg/runtest/run.go
parent9f05da3db0234203729d2ad179ab5a2f72bf607f (diff)
all: remove loop variables scoping
Diffstat (limited to 'pkg/runtest/run.go')
-rw-r--r--pkg/runtest/run.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/pkg/runtest/run.go b/pkg/runtest/run.go
index d9f0aa25a..e95a1aa38 100644
--- a/pkg/runtest/run.go
+++ b/pkg/runtest/run.go
@@ -241,7 +241,6 @@ nextSandbox:
"arch=" + ctx.Target.Arch: true,
}
for _, threaded := range []bool{false, true} {
- name := name
if threaded {
name += "/thr"
}
@@ -259,7 +258,6 @@ nextSandbox:
if times != 1 {
break
}
- name := name
if cov {
name += "/cover"
}
@@ -277,7 +275,6 @@ nextSandbox:
// and copy the binary to the target system.
continue
}
- name := name
properties["C"] = true
properties["executor"] = false
name += " C"