Remove a few unused variables

This commit is contained in:
Michael Eischer
2020-03-06 23:32:12 +01:00
parent 37113282ca
commit 2f8335554c
5 changed files with 8 additions and 8 deletions

View File

@@ -11,7 +11,7 @@ import (
// one of the workers, it is returned. FinalFunc is always run, regardless of
// any other previous errors.
func RunWorkers(ctx context.Context, count int, workerFunc func() error, finalFunc func()) error {
wg, ctx := errgroup.WithContext(ctx)
wg, _ := errgroup.WithContext(ctx)
// run workers
for i := 0; i < count; i++ {