mirror of
https://github.com/go-delve/delve.git
synced 2025-10-31 02:36:18 +08:00
gdbserial: Fix go vet warnings (#1594)
This commit is contained in:
committed by
Derek Parker
parent
8ac1a786dd
commit
116b9631dc
@ -968,7 +968,7 @@ func (p *Process) Checkpoints() ([]proc.Checkpoint, error) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("can not parse \"info checkpoints\" output line %q: %v", line, err)
|
return nil, fmt.Errorf("can not parse \"info checkpoints\" output line %q: %v", line, err)
|
||||||
}
|
}
|
||||||
r = append(r, proc.Checkpoint{cpid, fields[1], fields[2]})
|
r = append(r, proc.Checkpoint{ID: cpid, When: fields[1], Where: fields[2]})
|
||||||
}
|
}
|
||||||
return r, nil
|
return r, nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user