Fix dead assignment librz/debug/p/debug_gdb.c
This commit is contained in:
parent
35f6a1c53f
commit
d1e146224b
1 changed files with 1 additions and 1 deletions
|
|
@ -391,7 +391,7 @@ static int rz_debug_gdb_detach(RzDebug *dbg, int pid) {
|
|||
int ret = 0;
|
||||
|
||||
if (pid <= 0 || !desc->stub_features.multiprocess) {
|
||||
ret = gdbr_detach(desc);
|
||||
gdbr_detach(desc);
|
||||
}
|
||||
ret = gdbr_detach_pid(desc, pid);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue