summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorStephane Sezer <sas@cd80.net>2015-10-14 20:39:41 +0000
committerStephane Sezer <sas@cd80.net>2015-10-14 20:39:41 +0000
commit7686644691f814f9b854319840d80457e7652821 (patch)
tree0eae30f8700478291f2eac166d8b6a2ee9fb7112 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parentab2562199749a2522ed3a2c7fe31ec9489c7a9fe (diff)
downloadbcm5719-llvm-7686644691f814f9b854319840d80457e7652821.tar.gz
bcm5719-llvm-7686644691f814f9b854319840d80457e7652821.zip
Avoid a -Wreorder warning in ScriptInterpreterPython.cpp.
llvm-svn: 250322
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