From: Jonas Devlieghere Date: Fri, 29 Mar 2019 17:58:07 +0000 (+0000) Subject: [ScriptInterpreterPython] Remove unused field (NFC) X-Git-Tag: llvmorg-10-init~8866 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=05f1dd93627322ae87b1fba9c067ae6727ef894b;p=platform%2Fupstream%2Fllvm.git [ScriptInterpreterPython] Remove unused field (NFC) The m_lldb_module was initialized but not used. llvm-svn: 357292 --- 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;