mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-21 07:56:31 +00:00
Add linter ineffassign (#550)
This commit is contained in:
parent
34a17f8219
commit
eb134a2e27
2 changed files with 1 additions and 1 deletions
|
@ -20,6 +20,7 @@ linters:
|
|||
- staticcheck
|
||||
- structcheck
|
||||
- varcheck
|
||||
- ineffassign
|
||||
|
||||
run:
|
||||
timeout: 5m
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue