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

via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 4 17:37:22 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Kazu Hirata (kazutakahirata)

<details>
<summary>Changes</summary>

Note that CommandArgumentEntry is an alias for:

  std::vector<CommandArgumentData>


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


1 Files Affected:

- (modified) lldb/source/Commands/CommandObjectBreakpoint.cpp (-1) 


``````````diff
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.

``````````

</details>


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


More information about the lldb-commits mailing list