[Lldb-commits] [lldb] c1e9b90 - [lldb] Remove unused CommandReturnObject stack variable (NFC)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Thu Jan 30 13:36:32 PST 2025


Author: Jonas Devlieghere
Date: 2025-01-30T13:36:25-08:00
New Revision: c1e9b908d9c205970f025c188c6fbe6fb93be98d

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

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

Per the title, the variable is unused.

Added: 
    

Modified: 
    lldb/source/Interpreter/CommandInterpreter.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp
index 04226af1a1eb8e..4869b811f99e71 100644
--- a/lldb/source/Interpreter/CommandInterpreter.cpp
+++ b/lldb/source/Interpreter/CommandInterpreter.cpp
@@ -284,8 +284,6 @@ bool CommandInterpreter::GetRequireCommandOverwrite() const {
 void CommandInterpreter::Initialize() {
   LLDB_SCOPED_TIMER();
 
-  CommandReturnObject result(m_debugger.GetUseColor());
-
   LoadCommandDictionary();
 
   // An alias arguments vector to reuse - reset it before use...


        


More information about the lldb-commits mailing list