Add linter ineffassign (#550)

This commit is contained in:
Lukas 2021-11-27 13:17:03 +01:00 committed by GitHub
parent 34a17f8219
commit eb134a2e27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View file

@ -20,6 +20,7 @@ linters:
- staticcheck
- structcheck
- varcheck
- ineffassign
run:
timeout: 5m

View file

@ -356,7 +356,6 @@ func (q *fifo) updateDepStatusInQueue(taskID string, status string) {
}
}
next = nil
for e := q.waitingOnDeps.Front(); e != nil; e = next {
next = e.Next()
waiting, ok := e.Value.(*Task)