[Lldb-commits] [lldb] r357292 - [ScriptInterpreterPython] Remove unused field (NFC)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Fri Mar 29 10:58:07 PDT 2019
Author: jdevlieghere
Date: Fri Mar 29 10:58:07 2019
New Revision: 357292
URL: http://llvm.org/viewvc/llvm-project?rev=357292&view=rev
Log:
[ScriptInterpreterPython] Remove unused field (NFC)
The m_lldb_module was initialized but not used.
Modified:
lldb/trunk/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
lldb/trunk/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
Modified: lldb/trunk/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp?rev=357292&r1=357291&r2=357292&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp (original)
+++ lldb/trunk/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp Fri Mar 29 10:58:07 2019
@@ -361,7 +361,7 @@ ScriptInterpreterPython::ScriptInterpret
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(),
Modified: lldb/trunk/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h?rev=357292&r1=357291&r2=357292&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h (original)
+++ lldb/trunk/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h Fri Mar 29 10:58:07 2019
@@ -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;
More information about the lldb-commits
mailing list