summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-03-29 17:58:07 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-03-29 17:58:07 +0000
commit05f1dd93627322ae87b1fba9c067ae6727ef894b (patch)
tree19ad4292f0a9708d5f5f0b75a46279fdeecfc88d /lldb/source/Plugins/ScriptInterpreter/Python
parent01c07b1a4550b28f90acefb33328b63d0ca619a6 (diff)
downloadbcm5719-llvm-05f1dd93627322ae87b1fba9c067ae6727ef894b.tar.gz
bcm5719-llvm-05f1dd93627322ae87b1fba9c067ae6727ef894b.zip
[ScriptInterpreterPython] Remove unused field (NFC)
The m_lldb_module was initialized but not used. llvm-svn: 357292
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
-rw-r--r--lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp2
-rw-r--r--lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
index 41dc4cec0f1..e1c432d270a 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 bd47f41fd18..ba94291c7b2 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;
OpenPOWER on IntegriCloud