mirror of
https://github.com/restic/restic.git
synced 2025-11-15 09:12:53 +00:00
Remove a few unused variables
This commit is contained in:
@@ -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++ {
|
||||
|
||||
Reference in New Issue
Block a user