From 61714c16be4935d03f52ea7f11cee2f58a82d9fd Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 4 May 2025 11:56:22 -0700 Subject: [lldb] Remove unused local variables (NFC) (#138457) --- .../Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'lldb/source/Plugins/ScriptInterpreter/Python') 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,\""); -- cgit v1.1