mirror of
https://github.com/go-delve/delve.git
synced 2025-11-01 12:01:35 +08:00
minor syntax cleanup
This commit is contained in:
@ -108,9 +108,8 @@ func NewDebugProcess(pid int) (*DebuggedProcess, error) {
|
||||
}
|
||||
|
||||
func (dbp *DebuggedProcess) AttachThread(tid int) (*ThreadContext, error) {
|
||||
var (
|
||||
status syscall.WaitStatus
|
||||
)
|
||||
var status syscall.WaitStatus
|
||||
|
||||
if thread, ok := dbp.Threads[tid]; ok {
|
||||
return thread, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user