Author: Raphael Isemann
Date: 2021-05-31T11:19:02+02:00
New Revision: 24ee6d3d3c6215db11e9015e94f5f4a9b5a7b750

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

LOG: [lldb][NFC] Remove unused var in SBDebugger::GetInternalVariableValue

This variable was originally just the default return value but got unused
in 6920b52be6f8731692a9bff4fe6a7b596cda00c5 .

Added: 
    

Modified: 
    lldb/source/API/SBDebugger.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/API/SBDebugger.cpp b/lldb/source/API/SBDebugger.cpp
index 03e6fe52969d..a854c22bb214 100644
--- a/lldb/source/API/SBDebugger.cpp
+++ b/lldb/source/API/SBDebugger.cpp
@@ -1334,7 +1334,6 @@ SBDebugger::GetInternalVariableValue(const char *var_name,
       lldb::SBStringList, SBDebugger, GetInternalVariableValue,
       (const char *, const char *), var_name, debugger_instance_name);
 
-  SBStringList ret_value;
   DebuggerSP debugger_sp(Debugger::FindDebuggerWithInstanceName(
       ConstString(debugger_instance_name)));
   Status error;


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to