diff options
author | Kazu Hirata <kazu@google.com> | 2025-05-04 11:56:22 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-04 11:56:22 -0700 |
commit | 61714c16be4935d03f52ea7f11cee2f58a82d9fd (patch) | |
tree | 5cbd3c62af7bfdaa177948295db0a10844e17ad3 /lldb/source/Plugins/ScriptInterpreter/Python | |
parent | ac69fcf54f28128d0b72143c88a3a7a87dfd3bd4 (diff) | |
download | llvm-61714c16be4935d03f52ea7f11cee2f58a82d9fd.zip llvm-61714c16be4935d03f52ea7f11cee2f58a82d9fd.tar.gz llvm-61714c16be4935d03f52ea7f11cee2f58a82d9fd.tar.bz2 |
[lldb] Remove unused local variables (NFC) (#138457)
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
-rw-r--r-- | lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp index 16c3226..0c864dc 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp +++ b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp @@ -2567,8 +2567,6 @@ bool ScriptInterpreterPythonImpl::RunScriptBasedCommand( bool ret_val = false; - std::string err_msg; - { Locker py_lock(this, Locker::AcquireLock | Locker::InitSession | @@ -2612,8 +2610,6 @@ bool ScriptInterpreterPythonImpl::RunScriptBasedCommand( bool ret_val = false; - std::string err_msg; - { Locker py_lock(this, Locker::AcquireLock | Locker::InitSession | @@ -2657,8 +2653,6 @@ bool ScriptInterpreterPythonImpl::RunScriptBasedParsedCommand( bool ret_val = false; - std::string err_msg; - { Locker py_lock(this, Locker::AcquireLock | Locker::InitSession | @@ -3166,8 +3160,6 @@ void ScriptInterpreterPythonImpl::Initialize() { void ScriptInterpreterPythonImpl::AddToSysPath(AddLocation location, std::string path) { - std::string path_copy; - std::string statement; if (location == AddLocation::Beginning) { statement.assign("sys.path.insert(0,\""); |