summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
-rw-r--r--lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
index 9dda825803f..704e851e72c 100644
--- a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
+++ b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
@@ -93,8 +93,8 @@ struct InitializePythonRAII
{
public:
InitializePythonRAII() :
- m_was_already_initialized(false),
- m_gil_state(PyGILState_UNLOCKED)
+ m_gil_state(PyGILState_UNLOCKED),
+ m_was_already_initialized(false)
{
// Python will muck with STDIN terminal state, so save off any current TTY
// settings so we can restore them.
OpenPOWER on IntegriCloud