aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/syz-db-export/reprolist.go1
-rw-r--r--tools/syz-declextract/declextract_test.go1
2 files changed, 0 insertions, 2 deletions
diff --git a/tools/syz-db-export/reprolist.go b/tools/syz-db-export/reprolist.go
index 24a548423..1b6e90a26 100644
--- a/tools/syz-db-export/reprolist.go
+++ b/tools/syz-db-export/reprolist.go
@@ -51,7 +51,6 @@ func exportNamespace() error {
iBugChan := make(chan int)
g, _ := errgroup.WithContext(context.Background())
for i := 0; i < *flagParallel; i++ {
- i := i
g.Go(func() error {
for iBug := range iBugChan {
bug, err := cli.Bug(bugs[iBug].Link)
diff --git a/tools/syz-declextract/declextract_test.go b/tools/syz-declextract/declextract_test.go
index 222a96970..22d6dba35 100644
--- a/tools/syz-declextract/declextract_test.go
+++ b/tools/syz-declextract/declextract_test.go
@@ -132,7 +132,6 @@ func testEachFile(t *testing.T, fn func(t *testing.T, cfg *clangtool.Config, fil
t.Fatal("found no source files")
}
for _, file := range files {
- file := file
t.Run(filepath.Base(file), func(t *testing.T) {
t.Parallel()
buildDir := t.TempDir()