提交 f280ba2a 编写于 作者: D Derek Parker

minor syntax cleanup

上级 54788de8
......@@ -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
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册