Skip to content

[lldb] Remove an unused local variable (NFC) #145212

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

kazutakahirata
Copy link
Contributor

No description provided.

@llvmbot
Copy link
Member

llvmbot commented Jun 22, 2025

@llvm/pr-subscribers-lldb

Author: Kazu Hirata (kazutakahirata)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/145212.diff

1 Files Affected:

  • (modified) lldb/source/Plugins/Protocol/MCP/ProtocolServerMCP.cpp (-2)
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));

@kazutakahirata kazutakahirata merged commit 975d4df into llvm:main Jun 24, 2025
9 checks passed
@kazutakahirata kazutakahirata deleted the cleanup_20250621_unused_local_lldb branch June 24, 2025 01:04
DrSergei pushed a commit to DrSergei/llvm-project that referenced this pull request Jun 24, 2025
anthonyhatran pushed a commit to anthonyhatran/llvm-project that referenced this pull request Jun 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants