https://github.com/Troy-Butler created https://github.com/llvm/llvm-project/pull/89650
Addresses #85984 >From 8aed7cb301347db507de10106ed41f9c6be50b1b Mon Sep 17 00:00:00 2001 From: Troy-Butler <squin...@outlook.com> Date: Mon, 22 Apr 2024 14:56:11 -0400 Subject: [PATCH] [lldb][Core] Fix pointless if conditon Signed-off-by: Troy-Butler <squin...@outlook.com> --- lldb/source/Core/Debugger.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/lldb/source/Core/Debugger.cpp b/lldb/source/Core/Debugger.cpp index ebd112110e5f2d..19b3cf3bbf46b1 100644 --- a/lldb/source/Core/Debugger.cpp +++ b/lldb/source/Core/Debugger.cpp @@ -1115,9 +1115,6 @@ void Debugger::RunIOHandlerSync(const IOHandlerSP &reader_sp) { IOHandlerSP top_reader_sp = reader_sp; while (top_reader_sp) { - if (!top_reader_sp) - break; - top_reader_sp->Run(); // Don't unwind past the starting point. _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits