[Lldb-commits] [lldb] [lldb][Core] Fix pointless if conditon (PR #89650)
via lldb-commits
lldb-commits at lists.llvm.org
Mon Apr 22 11:57:59 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: Troy Butler (Troy-Butler)
<details>
<summary>Changes</summary>
Addresses #<!-- -->85984
---
Full diff: https://github.com/llvm/llvm-project/pull/89650.diff
1 Files Affected:
- (modified) lldb/source/Core/Debugger.cpp (-3)
``````````diff
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.
``````````
</details>
https://github.com/llvm/llvm-project/pull/89650
More information about the lldb-commits
mailing list