lint: ensure errors are at least logged (errcheck)
Signed-off-by: Moritz Poldrack <moritz@poldrack.dev> Acked-by: Robin Jarry <robin@jarry.cc>
This commit is contained in:
parent
a8d631177f
commit
5ca6022d00
33 changed files with 301 additions and 103 deletions
worker/types
|
@ -101,7 +101,7 @@ func getMaxUID(thread *Thread) uint32 {
|
|||
// TODO: should we make this part of the Thread type to avoid recomputation?
|
||||
var Uid uint32
|
||||
|
||||
thread.Walk(func(t *Thread, _ int, currentErr error) error {
|
||||
_ = thread.Walk(func(t *Thread, _ int, currentErr error) error {
|
||||
if t.Uid > Uid {
|
||||
Uid = t.Uid
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue