[Lldb-commits] [lldb] [lldb] Remove an unused local variable (NFC) (PR #145212)
via lldb-commits
lldb-commits at lists.llvm.org
Sat Jun 21 22:50:24 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: Kazu Hirata (kazutakahirata)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/145212.diff
1 Files Affected:
- (modified) lldb/source/Plugins/Protocol/MCP/ProtocolServerMCP.cpp (-2)
``````````diff
diff --git a/lldb/source/Plugins/Protocol/MCP/ProtocolServerMCP.cpp b/lldb/source/Plugins/Protocol/MCP/ProtocolServerMCP.cpp
index 029d4a887b0cc..c3cd9a88c20bf 100644
--- a/lldb/source/Plugins/Protocol/MCP/ProtocolServerMCP.cpp
+++ b/lldb/source/Plugins/Protocol/MCP/ProtocolServerMCP.cpp
@@ -156,8 +156,6 @@ llvm::Error ProtocolServerMCP::Start(ProtocolServer::Connection connection) {
if (status.Fail())
return status.takeError();
- std::string address =
- llvm::join(m_listener->GetListeningConnectionURI(), ", ");
auto handles =
m_listener->Accept(m_loop, std::bind(&ProtocolServerMCP::AcceptCallback,
this, std::placeholders::_1));
``````````
</details>
https://github.com/llvm/llvm-project/pull/145212
More information about the lldb-commits
mailing list