[Lldb-commits] [lldb] r249900 - Fix build broken by r249885

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 9 13:56:24 PDT 2015


Author: zturner
Date: Fri Oct  9 15:56:23 2015
New Revision: 249900

URL: http://llvm.org/viewvc/llvm-project?rev=249900&view=rev
Log:
Fix build broken by r249885

Modified:
    lldb/trunk/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
    lldb/trunk/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp

Modified: lldb/trunk/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h?rev=249900&r1=249899&r2=249900&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h (original)
+++ lldb/trunk/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h Fri Oct  9 15:56:23 2015
@@ -235,7 +235,7 @@ enum class PyObjectType
     class PythonDictionary: public PythonObject
     {
     public:
-      PythonDictionary();
+        PythonDictionary();
         PythonDictionary (PyObject* object);
         PythonDictionary (const PythonObject &object);
         virtual ~PythonDictionary ();

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=249900&r1=249899&r2=249900&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp (original)
+++ lldb/trunk/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp Fri Oct  9 15:56:23 2015
@@ -189,8 +189,8 @@ ScriptInterpreterPython::ScriptInterpret
     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()),




More information about the lldb-commits mailing list