proc: StepOut remove if condition that is always true
This commit is contained in:
parent
49c6498512
commit
ae846a51f2
@ -342,12 +342,9 @@ func (dbp *Target) StepOut() error {
|
||||
return dbp.Continue()
|
||||
}
|
||||
|
||||
var deferpc uint64
|
||||
if !backward {
|
||||
deferpc, err = setDeferBreakpoint(dbp, nil, topframe, sameGCond, false)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
deferpc, err := setDeferBreakpoint(dbp, nil, topframe, sameGCond, false)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
if topframe.Ret == 0 && deferpc == 0 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user