From 05f1dd93627322ae87b1fba9c067ae6727ef894b Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Fri, 29 Mar 2019 17:58:07 +0000 Subject: [PATCH] [ScriptInterpreterPython] Remove unused field (NFC) The m_lldb_module was initialized but not used. llvm-svn: 357292 --- .../source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | 2 +- lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp index 41dc4ce..e1c432d 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp +++ b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp @@ -361,7 +361,7 @@ ScriptInterpreterPython::ScriptInterpreterPython( CommandInterpreter &interpreter) : ScriptInterpreter(interpreter, eScriptLanguagePython), IOHandlerDelegateMultiline("DONE"), m_saved_stdin(), m_saved_stdout(), - m_saved_stderr(), m_main_module(), m_lldb_module(), + m_saved_stderr(), m_main_module(), m_session_dict(PyInitialValue::Invalid), m_sys_module_dict(PyInitialValue::Invalid), m_run_one_line_function(), m_run_one_line_str_global(), diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h index bd47f41..ba94291 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h +++ b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h @@ -426,7 +426,6 @@ protected: PythonFile m_saved_stdout; PythonFile m_saved_stderr; PythonObject m_main_module; - PythonObject m_lldb_module; PythonDictionary m_session_dict; PythonDictionary m_sys_module_dict; PythonObject m_run_one_line_function; -- 2.7.4