*: remove redundant lines at the start/end of block (#3773)

This commit is contained in:
Oleksandr Redko
2024-07-11 14:54:55 +03:00
committed by GitHub
parent 8e9607a53c
commit 7a801c440b
4 changed files with 0 additions and 8 deletions

View File

@ -494,7 +494,6 @@ func (d *Debugger) Restart(rerecord bool, pos string, resetArgs bool, newArgs []
if !resetArgs && (d.config.Stdout.File != nil || d.config.Stderr.File != nil) {
return nil, ErrCanNotRestart
}
if err := d.detach(true); err != nil {
@ -1547,7 +1546,6 @@ func traverse(t proc.ValidTargets, f *proc.Function, depth int, followCalls int)
TraceMap[cf.Name] = childnode
queue = append(queue, childnode)
}
}
}
}
@ -2001,7 +1999,6 @@ func (d *Debugger) convertDefers(defers []*proc.Defer) []api.Defer {
SP: defers[i].SP,
}
}
}
return r