[Lldb-commits] [lldb] 26c2da5 - [lldb] Remove another unused CommandReturnObject variable (NFC)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Thu Jan 30 14:21:43 PST 2025


Author: Jonas Devlieghere
Date: 2025-01-30T14:21:37-08:00
New Revision: 26c2da5a122532035b8bf63af89208d6d799e40e

URL: https://github.com/llvm/llvm-project/commit/26c2da5a122532035b8bf63af89208d6d799e40e
DIFF: https://github.com/llvm/llvm-project/commit/26c2da5a122532035b8bf63af89208d6d799e40e.diff

LOG: [lldb] Remove another unused CommandReturnObject variable (NFC)

Added: 
    

Modified: 
    lldb/source/Interpreter/CommandObject.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Interpreter/CommandObject.cpp b/lldb/source/Interpreter/CommandObject.cpp
index 6b044a28eb37ee..559e2e7a76dd99 100644
--- a/lldb/source/Interpreter/CommandObject.cpp
+++ b/lldb/source/Interpreter/CommandObject.cpp
@@ -278,7 +278,6 @@ void CommandObject::HandleCompletion(CompletionRequest &request) {
   } else {
     // Can we do anything generic with the options?
     Options *cur_options = GetOptions();
-    CommandReturnObject result(m_interpreter.GetDebugger().GetUseColor());
     OptionElementVector opt_element_vector;
 
     if (cur_options != nullptr) {


        


More information about the lldb-commits mailing list