[Lldb-commits] [lldb] [lldb] Remove an unused local variable (NFC) (PR #142882)

Kazu Hirata via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 4 17:36:46 PDT 2025


https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/142882

Note that CommandArgumentEntry is an alias for:

  std::vector<CommandArgumentData>


>From 2e800e08e7645c82e86d2b466bd7cc0ba2b0d915 Mon Sep 17 00:00:00 2001
From: Kazu Hirata <kazu at google.com>
Date: Wed, 4 Jun 2025 12:50:57 -0700
Subject: [PATCH] [lldb] Remove an unused local variable (NFC)

Note that CommandArgumentEntry is an alias for:

  std::vector<CommandArgumentData>
---
 lldb/source/Commands/CommandObjectBreakpoint.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lldb/source/Commands/CommandObjectBreakpoint.cpp b/lldb/source/Commands/CommandObjectBreakpoint.cpp
index 494d6c50e94ac..a0c39cf670d46 100644
--- a/lldb/source/Commands/CommandObjectBreakpoint.cpp
+++ b/lldb/source/Commands/CommandObjectBreakpoint.cpp
@@ -1094,7 +1094,6 @@ class CommandObjectBreakpointList : public CommandObjectParsed {
             interpreter, "breakpoint list",
             "List some or all breakpoints at configurable levels of detail.",
             nullptr) {
-    CommandArgumentEntry arg;
     CommandArgumentData bp_id_arg;
 
     // Define the first (and only) variant of this arg.



More information about the lldb-commits mailing list