summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-10-09 20:56:23 +0000
committerZachary Turner <zturner@google.com>2015-10-09 20:56:23 +0000
commit638b98d3ed4c61af1b971a0ba0e6c14ac3492860 (patch)
treebb92f2f0a293d43bac2dcc0474c3bd5ee7d1161e /lldb/source/Plugins/ScriptInterpreter/Python
parentfd78cc88cf3990f4342c02ae63d148ab0db28972 (diff)
downloadbcm5719-llvm-638b98d3ed4c61af1b971a0ba0e6c14ac3492860.tar.gz
bcm5719-llvm-638b98d3ed4c61af1b971a0ba0e6c14ac3492860.zip
Fix build broken by r249885
llvm-svn: 249900
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
-rw-r--r--lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h2
-rw-r--r--lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
index 33275d55468..3faaca37c06 100644
--- a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
+++ b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
@@ -235,7 +235,7 @@ enum class PyObjectType
class PythonDictionary: public PythonObject
{
public:
- PythonDictionary();
+ PythonDictionary();
PythonDictionary (PyObject* object);
PythonDictionary (const PythonObject &object);
virtual ~PythonDictionary ();
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
index ea93cf04fd1..70232e48e73 100644
--- a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
+++ b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
@@ -189,8 +189,8 @@ ScriptInterpreterPython::ScriptInterpreterPython (CommandInterpreter &interprete
m_saved_stderr (),
m_main_module (),
m_lldb_module (),
- m_session_dict (false), // Don't create an empty dictionary, leave it invalid
- m_sys_module_dict (false), // Don't create an empty dictionary, leave it invalid
+ m_session_dict(nullptr),
+ m_sys_module_dict(nullptr),
m_run_one_line_function (),
m_run_one_line_str_global (),
m_dictionary_name (interpreter.GetDebugger().GetInstanceName().AsCString()),
OpenPOWER on IntegriCloud