[Lldb-commits] [lldb] 24ee6d3 - [lldb][NFC] Remove unused var in SBDebugger::GetInternalVariableValue
Raphael Isemann via lldb-commits
lldb-commits at lists.llvm.org
Mon May 31 02:19:22 PDT 2021
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;
More information about the lldb-commits
mailing list