From d1e146224b69cf6ac2e91a833eb33b3cfaba550e Mon Sep 17 00:00:00 2001 From: Alexis Ehret <08a@riseup.net> Date: Sun, 7 Feb 2021 18:16:31 +0100 Subject: [PATCH] Fix dead assignment librz/debug/p/debug_gdb.c --- librz/debug/p/debug_gdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/librz/debug/p/debug_gdb.c b/librz/debug/p/debug_gdb.c index 439ad83e64..91561e0a22 100644 --- a/librz/debug/p/debug_gdb.c +++ b/librz/debug/p/debug_gdb.c @@ -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);